Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ProductFamilyContainer.php 1.5KB

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