Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

OrderShopContainer.php 2.3KB

pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
pirms 3 gadiem
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?php
  2. namespace Lc\CaracoleBundle\Container\Order;
  3. use App\Resolver\OrderResolver;
  4. use Lc\CaracoleBundle\Builder\Order\OrderShopBuilder;
  5. use Lc\CaracoleBundle\Definition\Field\Order\OrderShopFieldDefinition;
  6. use Lc\CaracoleBundle\Factory\Order\OrderShopFactory;
  7. use Lc\CaracoleBundle\Repository\Order\OrderShopRepositoryQuery;
  8. use Lc\CaracoleBundle\Repository\Order\OrderShopStore;
  9. use Lc\CaracoleBundle\Solver\Order\OrderShopSolver;
  10. use Lc\CaracoleBundle\Transformer\Order\OrderShopTransformer;
  11. class OrderShopContainer
  12. {
  13. protected OrderShopFactory $factory;
  14. protected OrderShopSolver $solver;
  15. protected OrderShopRepositoryQuery $repositoryQuery;
  16. protected OrderShopStore $store;
  17. protected OrderShopBuilder $builder;
  18. protected OrderResolver $resolver;
  19. protected OrderShopTransformer $transformer;
  20. protected OrderShopFieldDefinition $fieldDefinition;
  21. public function __construct(
  22. OrderShopFactory $factory,
  23. OrderShopSolver $solver,
  24. OrderShopRepositoryQuery $repositoryQuery,
  25. OrderShopStore $store,
  26. OrderResolver $resolver,
  27. OrderShopBuilder $builder,
  28. OrderShopTransformer $transformer,
  29. OrderShopFieldDefinition $fieldDefinition
  30. ) {
  31. $this->factory = $factory;
  32. $this->solver = $solver;
  33. $this->repositoryQuery = $repositoryQuery;
  34. $this->store = $store;
  35. $this->resolver = $resolver;
  36. $this->builder = $builder;
  37. $this->transformer = $transformer;
  38. $this->fieldDefinition = $fieldDefinition;
  39. }
  40. public function getFactory(): OrderShopFactory
  41. {
  42. return $this->factory;
  43. }
  44. public function getSolver(): OrderShopSolver
  45. {
  46. return $this->solver;
  47. }
  48. public function getRepositoryQuery(): OrderShopRepositoryQuery
  49. {
  50. return $this->repositoryQuery;
  51. }
  52. public function getStore(): OrderShopStore
  53. {
  54. return $this->store;
  55. }
  56. public function getResolver(): OrderResolver
  57. {
  58. return $this->resolver;
  59. }
  60. public function getBuilder(): OrderShopBuilder
  61. {
  62. return $this->builder;
  63. }
  64. public function getTransformer(): OrderShopTransformer
  65. {
  66. return $this->transformer;
  67. }
  68. public function getFieldDefinition(): OrderShopFieldDefinition
  69. {
  70. return $this->fieldDefinition;
  71. }
  72. }