| 1 | <?php |
||
| 21 | final class OrderContext implements Context |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var OrderRepositoryInterface |
||
| 25 | */ |
||
| 26 | private $orderRepository; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param OrderRepositoryInterface $orderRepository |
||
| 30 | */ |
||
| 31 | public function __construct(OrderRepositoryInterface $orderRepository) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @Transform :order |
||
| 38 | */ |
||
| 39 | public function getOrderByNumber($orderNumber) |
||
| 47 | } |
||
| 48 |