feat(webservice): Started on api endpoint

Using specific management and the WebserviceSpecificManagementInterface contract to tap into the webservice api.
This commit is contained in:
2026-02-23 11:32:36 +01:00
parent 5b3c638b5c
commit ff46d6c11c
9 changed files with 144 additions and 23 deletions

View File

@@ -0,0 +1,18 @@
services:
_defaults:
autowire: true
autoconfigure: true
# Repository - this makes it available via dependency injection
Module\WsOrderreference\Repository\OrderReferenceRepository:
public: true
factory: ["@doctrine.orm.default_entity_manager", getRepository]
arguments:
- Module\WsOrderreference\Entity\OrderReference
# Database installer
Module\WsOrderreference\Database\ReferenceInstaller:
public: true
arguments:
- "@doctrine.dbal.default_connection"
- "%database_prefix%"