HSLG Media

hslg-app-api.php

hslg-app-api.php

Source file: wordpress/hslg-app-api/hslg-app-api.php

Module: wordpress-hslg-app-api

Size: 36 lines

SHA-256: 228b4537125ace8b43cc8089013b543fd08bb0dcb939cf2046b09f9377fc8f25

Responsibility

Hosts independently deployable HSLG-owned API endpoints and schema operations on WordPress/MariaDB.

Declared entry points

No explicitly named class/function declarations detected; check script entry point and invocation.

Imports and dependencies

  • Line 25: require_once $hslg_backend;
  • Line 26: require_once __DIR__ . '/src/database/WordPressVenueRepository.php';
  • Line 27: require_once __DIR__ . '/src/database/WordPressCustomerRecordRepository.php';
  • Line 28: require_once __DIR__ . '/src/database/WordPressCustomerAuthRepository.php';
  • Line 29: require_once __DIR__ . '/src/database/WordPressOrderDraftRepository.php';
  • Line 30: require_once __DIR__ . '/src/database/WordPressMenuPriceRepository.php';
  • Line 31: require_once __DIR__ . '/src/database/SchemaInstaller.php';
  • Line 32: require_once __DIR__ . '/src/content/ContentTypes.php';
  • Line 33: require_once __DIR__ . '/src/Plugin.php';

Behaviour and audit locations

  • Line 16: // Neither this plugin nor that PHP library belongs in a Capacitor export.

Relationship to the system

This page is the file-level source reference, not the architecture rationale. Read the module explanation, the corresponding architecture decision and user guide before changing behaviour. Names and line locations above are extracted from this exact source version; they are reference points, not proof that an external service or a phone feature works.

Change verification

Review the entry points and errors in this file, then run the module’s associated tests, source dependency gate, history gate and documentation coverage check. If the file changes an API response, user interaction, data model, deployment or third-party dependency, revise those human explanations and disaster recovery/licensing when relevant. Do not infer actual native or external API operation from source presence.