|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
-
- namespace Lc\CaracoleBundle\Container\Merchant;
-
- use Lc\CaracoleBundle\Builder\Merchant\MerchantBuilder;
- use Lc\CaracoleBundle\Factory\Merchant\MerchantFactory;
- use Lc\CaracoleBundle\Repository\Merchant\MerchantRepositoryQuery;
- use Lc\CaracoleBundle\Repository\Merchant\MerchantStore;
- use Lc\CaracoleBundle\Resolver\MerchantResolver;
- use Lc\SovBundle\Solver\Setting\SettingSolver;
-
- class MerchantContainer
- {
- protected MerchantFactory $factory;
- protected MerchantBuilder $builder;
- protected MerchantResolver $resolver;
- protected MerchantRepositoryQuery $repositoryQuery;
- protected MerchantStore $store;
-
- public function __construct(
- MerchantFactory $factory,
- MerchantBuilder $builder,
- MerchantResolver $resolver,
- MerchantRepositoryQuery $repositoryQuery,
- MerchantStore $store
- ) {
- $this->factory = $factory;
- $this->builder = $builder;
- $this->resolver = $resolver;
- $this->repositoryQuery = $repositoryQuery;
- $this->store = $store;
- }
-
- public function getFactory(): MerchantFactory
- {
- return $this->factory;
- }
-
- public function getResolver(): MerchantResolver
- {
- return $this->resolver;
- }
-
- public function getRepositoryQuery(): MerchantRepositoryQuery
- {
- return $this->repositoryQuery;
- }
-
- public function getStore(): MerchantStore
- {
- return $this->store;
- }
-
- public function getBuilder(): MerchantBuilder
- {
- return $this->builder;
- }
- }
|