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.

32 lines
754B

  1. <?php
  2. namespace common\logic\Order\OrderStatusHistory;
  3. use common\logic\ContainerInterface;
  4. use common\logic\PointSale\PointSale\OrderStatusHistoryRepository;
  5. class OrderStatusHistoryContainer implements ContainerInterface
  6. {
  7. public function getEntityFqcn(): string
  8. {
  9. return OrderStatusHistory::class;
  10. }
  11. public function getServices(): array
  12. {
  13. return [
  14. OrderStatusHistoryRepository::class,
  15. OrderStatusHistoryBuilder::class
  16. ];
  17. }
  18. public function getRepository(): OrderStatusHistoryRepository
  19. {
  20. return new OrderStatusHistoryRepository();
  21. }
  22. public function getBuilder(): OrderStatusHistoryBuilder
  23. {
  24. return new OrderStatusHistoryBuilder();
  25. }
  26. }