您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

PointSaleContainer.php 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. }