Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

OrderProductRefundContainer.php 1.2KB

3 лет назад
2 лет назад
3 лет назад
2 лет назад
3 лет назад
2 лет назад
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. }