|
1234567891011121314151617181920212223242526272829303132333435 |
- <?php
-
- namespace common\logic\Producer\ProducerPriceRange\Wrapper;
-
- use common\logic\AbstractContainer;
- use common\logic\Producer\ProducerPriceRange\Repository\ProducerPriceRangeRepository;
- use common\logic\Producer\ProducerPriceRange\Service\ProducerPriceRangeBuilder;
- use common\logic\Producer\ProducerPriceRange\Service\ProducerPriceRangeDefinition;
-
- class ProducerPriceRangeContainer extends AbstractContainer
- {
- public function getServices(): array
- {
- return [
- ProducerPriceRangeDefinition::class,
- ProducerPriceRangeRepository::class,
- ProducerPriceRangeBuilder::class,
- ];
- }
-
- public function getDefinition(): ProducerPriceRangeDefinition
- {
- return ProducerPriceRangeDefinition::getInstance();
- }
-
- public function getRepository(): ProducerPriceRangeRepository
- {
- return ProducerPriceRangeRepository::getInstance();
- }
-
- public function getBuilder(): ProducerPriceRangeBuilder
- {
- return ProducerPriceRangeBuilder::getInstance();
- }
- }
|