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.

OrderReductionCartContainer.php 1.3KB

пре 3 година
пре 2 година
пре 3 година
пре 2 година
пре 3 година
пре 2 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. namespace Lc\CaracoleBundle\Container\Order;
  3. use App\Entity\Newsletter\Newsletter;
  4. use App\Entity\Order\OrderReductionCart;
  5. use Lc\CaracoleBundle\Factory\Order\OrderReductionCartFactory;
  6. use Lc\CaracoleBundle\Repository\Order\OrderReductionCartRepositoryQuery;
  7. use Lc\CaracoleBundle\Repository\Order\OrderReductionCartStore;
  8. class OrderReductionCartContainer
  9. {
  10. protected OrderReductionCartFactory $factory;
  11. protected OrderReductionCartRepositoryQuery $repositoryQuery;
  12. protected OrderReductionCartStore $store;
  13. public function __construct(
  14. OrderReductionCartFactory $factory,
  15. OrderReductionCartRepositoryQuery $repositoryQuery,
  16. OrderReductionCartStore $store
  17. ) {
  18. $this->factory = $factory;
  19. $this->repositoryQuery = $repositoryQuery;
  20. $this->store = $store;
  21. }
  22. public static function getEntityFqcn()
  23. {
  24. return OrderReductionCart::class;
  25. }
  26. public function getFactory(): OrderReductionCartFactory
  27. {
  28. return $this->factory;
  29. }
  30. public function getRepositoryQuery(): OrderReductionCartRepositoryQuery
  31. {
  32. return $this->repositoryQuery;
  33. }
  34. public function getStore(): OrderReductionCartStore
  35. {
  36. return $this->store;
  37. }
  38. }