|
1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
-
- namespace domain\Document\DeliveryNote;
-
- use domain\Document\Document\DocumentModule;
-
- /**
- * @mixin DeliveryNoteDefinition
- * @mixin DeliveryNoteSolver
- * @mixin DeliveryNoteRepository
- * @mixin DeliveryNoteBuilder
- */
- class DeliveryNoteModule extends DocumentModule
- {
- public function getServices(): array
- {
- return [
- DeliveryNoteDefinition::class,
- DeliveryNoteSolver::class,
- DeliveryNoteRepository::class,
- DeliveryNoteBuilder::class,
- ];
- }
-
- public function getDefinition(): DeliveryNoteDefinition
- {
- return DeliveryNoteDefinition::getInstance();
- }
-
- public function getSolver(): DeliveryNoteSolver
- {
- return DeliveryNoteSolver::getInstance();
- }
-
- public function getRepository(): DeliveryNoteRepository
- {
- return DeliveryNoteRepository::getInstance();
- }
-
- public function getBuilder(): DeliveryNoteBuilder
- {
- return DeliveryNoteBuilder::getInstance();
- }
- }
|