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.

PointSaleContainer.php 1.6KB

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