No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

OrderProductReductionCatalogContainer.php 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. namespace Lc\CaracoleBundle\Container\Order;
  3. use Lc\CaracoleBundle\Factory\Order\OrderProductReductionCatalogFactory;
  4. use Lc\CaracoleBundle\Repository\Order\OrderProductReductionCatalogRepositoryQuery;
  5. use Lc\CaracoleBundle\Repository\Order\OrderProductReductionCatalogStore;
  6. use Lc\CaracoleBundle\Solver\Order\OrderProductReductionCatalogSolver;
  7. class OrderProductReductionCatalogContainer
  8. {
  9. protected OrderProductReductionCatalogFactory $factory;
  10. protected OrderProductReductionCatalogSolver $solver;
  11. protected OrderProductReductionCatalogRepositoryQuery $repositoryQuery;
  12. protected OrderProductReductionCatalogStore $store;
  13. public function __construct(
  14. OrderProductReductionCatalogFactory $factory,
  15. OrderProductReductionCatalogSolver $solver,
  16. OrderProductReductionCatalogRepositoryQuery $repositoryQuery,
  17. OrderProductReductionCatalogStore $store
  18. ) {
  19. $this->factory = $factory;
  20. $this->solver = $solver;
  21. $this->repositoryQuery = $repositoryQuery;
  22. $this->store = $store;
  23. }
  24. public function getFactory(): OrderProductReductionCatalogFactory
  25. {
  26. return $this->factory;
  27. }
  28. public function getSolver(): OrderProductReductionCatalogSolver
  29. {
  30. return $this->solver;
  31. }
  32. public function getRepositoryQuery(): OrderProductReductionCatalogRepositoryQuery
  33. {
  34. return $this->repositoryQuery;
  35. }
  36. public function getStore(): OrderProductReductionCatalogStore
  37. {
  38. return $this->store;
  39. }
  40. }