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.

48 satır
1.2KB

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