You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
2.0KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Container\Product;
  3. use App\Definition\Field\Product\ProductFamilyFieldDefinition;
  4. use Lc\CaracoleBundle\Builder\Product\ProductFamilyBuilder;
  5. use Lc\CaracoleBundle\Factory\Product\ProductFamilyFactory;
  6. use Lc\CaracoleBundle\Factory\Product\ProductFamilySectionPropertyFactory;
  7. use Lc\CaracoleBundle\Repository\Product\ProductFamilyRepositoryQuery;
  8. use Lc\CaracoleBundle\Repository\Product\ProductFamilySectionPropertyRepositoryQuery;
  9. use Lc\CaracoleBundle\Repository\Product\ProductFamilySectionPropertyStore;
  10. use Lc\CaracoleBundle\Repository\Product\ProductFamilyStore;
  11. use Lc\CaracoleBundle\Resolver\ProductFamilyResolver;
  12. use Lc\CaracoleBundle\Solver\Product\ProductFamilySectionPropertySolver;
  13. use Lc\CaracoleBundle\Solver\Product\ProductFamilySolver;
  14. class ProductFamilySectionPropertyContainer
  15. {
  16. protected ProductFamilySectionPropertyFactory $factory;
  17. protected ProductFamilySectionPropertySolver $solver;
  18. protected ProductFamilySectionPropertyRepositoryQuery $repositoryQuery;
  19. protected ProductFamilySectionPropertyStore $store;
  20. public function __construct(
  21. ProductFamilySectionPropertyFactory $factory,
  22. ProductFamilySectionPropertySolver $solver,
  23. ProductFamilySectionPropertyRepositoryQuery $repositoryQuery,
  24. ProductFamilySectionPropertyStore $store
  25. )
  26. {
  27. $this->factory = $factory;
  28. $this->solver = $solver;
  29. $this->repositoryQuery = $repositoryQuery;
  30. $this->store = $store;
  31. }
  32. public function getFactory(): ProductFamilySectionPropertyFactory
  33. {
  34. return $this->factory;
  35. }
  36. public function getSolver(): ProductFamilySectionPropertySolver
  37. {
  38. return $this->solver;
  39. }
  40. public function getRepositoryQuery(): ProductFamilySectionPropertyRepositoryQuery
  41. {
  42. return $this->repositoryQuery;
  43. }
  44. public function getStore(): ProductFamilySectionPropertyStore
  45. {
  46. return $this->store;
  47. }
  48. }