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.
|
- <?php
-
- namespace domain\Order\OrderStatusHistory;
-
- use domain\_\AbstractSolver;
- use domain\Order\OrderStatus\OrderStatusSolver;
-
- class OrderStatusHistorySolver extends AbstractSolver
- {
- protected OrderStatusSolver $orderStatusSolver;
-
- public function loadDependencies(): void
- {
- $this->orderStatusSolver = $this->loadService(OrderStatusSolver::class);
- }
-
- public function getOrderStatusHistoryLabel(OrderStatusHistory $orderStatusHistory): string
- {
- return $this->orderStatusSolver->getLabel($orderStatusHistory->getOrderStatusAlias());
- }
- }
|