|
123456789101112131415161718192021222324252627282930313233343536 |
- <?php
-
- namespace common\logic\Product\ProductPrice;
-
- use common\logic\ContainerInterface;
-
- class ProductPriceContainer implements ContainerInterface
- {
- public function getEntityFqcn(): string
- {
- return ProductPrice::class;
- }
-
- public function getServices(): array
- {
- return [
- ProductPriceSolver::class,
- ProductPriceRepository::class
- ];
- }
-
- public function getBuilder(): ProductPriceBuilder
- {
- return new ProductPriceBuilder();
- }
-
- public function getSolver(): ProductPriceSolver
- {
- return new ProductPriceSolver();
- }
-
- public function getRepository(): ProductPriceRepository
- {
- return new ProductPriceRepository();
- }
- }
|