|
- <?php
-
- namespace common\logic\Distribution\PointSaleDistribution\Wrapper;
-
- use common\logic\AbstractContainer;
- use common\logic\Distribution\PointSaleDistribution\Repository\PointSaleDistributionRepository;
- use common\logic\Distribution\PointSaleDistribution\Service\PointSaleDistributionBuilder;
- use common\logic\Distribution\PointSaleDistribution\Service\PointSaleDistributionDefinition;
-
- class PointSaleDistributionContainer extends AbstractContainer
- {
- public function getServices(): array
- {
- return [
- PointSaleDistributionDefinition::class,
- PointSaleDistributionRepository::class,
- PointSaleDistributionBuilder::class,
- ];
- }
-
- public function getDefinition(): PointSaleDistributionDefinition
- {
- return PointSaleDistributionDefinition::getInstance();
- }
-
- public function getRepository(): PointSaleDistributionRepository
- {
- return PointSaleDistributionRepository::getInstance();
- }
-
- public function getBuilder(): PointSaleDistributionBuilder
- {
- return PointSaleDistributionBuilder::getInstance();
- }
- }
|