Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

47 lines
1.2KB

  1. <?php
  2. namespace Lc\CaracoleBundle\Container\Order;
  3. use App\Entity\Order\OrderProductRefund;
  4. use Lc\CaracoleBundle\Factory\Order\OrderProductRefundFactory;
  5. use Lc\CaracoleBundle\Repository\Order\OrderProductRefundRepositoryQuery;
  6. use Lc\CaracoleBundle\Repository\Order\OrderProductRefundStore;
  7. class OrderProductRefundContainer
  8. {
  9. protected OrderProductRefundFactory $factory;
  10. protected OrderProductRefundRepositoryQuery $repositoryQuery;
  11. protected OrderProductRefundStore $store;
  12. public function __construct(
  13. OrderProductRefundFactory $factory,
  14. OrderProductRefundRepositoryQuery $repositoryQuery,
  15. OrderProductRefundStore $store
  16. ) {
  17. $this->factory = $factory;
  18. $this->repositoryQuery = $repositoryQuery;
  19. $this->store = $store;
  20. }
  21. public static function getEntityFqcn()
  22. {
  23. return OrderProductRefund::class;
  24. }
  25. public function getFactory(): OrderProductRefundFactory
  26. {
  27. return $this->factory;
  28. }
  29. public function getRepositoryQuery(): OrderProductRefundRepositoryQuery
  30. {
  31. return $this->repositoryQuery;
  32. }
  33. public function getStore(): OrderProductRefundStore
  34. {
  35. return $this->store;
  36. }
  37. }