|
- <?php
-
- namespace Lc\CaracoleBundle\Container\Product;
-
- use Lc\CaracoleBundle\Factory\Product\ProductCategoryFactory;
- use Lc\CaracoleBundle\Repository\Product\ProductCategoryRepositoryQuery;
- use Lc\CaracoleBundle\Repository\Product\ProductCategoryStore;
- use Lc\CaracoleBundle\Solver\Product\ProductCategorySolver;
-
- class ProductCategoryContainer
- {
- protected ProductCategoryFactory $factory;
- protected ProductCategorySolver $solver;
- protected ProductCategoryRepositoryQuery $repositoryQuery;
- protected ProductCategoryStore $store;
-
- public function __construct(
- ProductCategoryFactory $factory,
- ProductCategorySolver $solver,
- ProductCategoryRepositoryQuery $repositoryQuery,
- ProductCategoryStore $store
- ) {
- $this->factory = $factory;
- $this->solver = $solver;
- $this->repositoryQuery = $repositoryQuery;
- $this->store = $store;
- }
-
- public function getFactory(): ProductCategoryFactory
- {
- return $this->factory;
- }
-
- public function getSolver(): ProductCategorySolver
- {
- return $this->solver;
- }
-
- public function getRepositoryQuery(): ProductCategoryRepositoryQuery
- {
- return $this->repositoryQuery;
- }
-
- public function getStore(): ProductCategoryStore
- {
- return $this->store;
- }
-
- }
|