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.

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