1 | <?php |
||
15 | final class PickupAction extends Controller |
||
16 | { |
||
17 | /** |
||
18 | * @var OrderRepositoryInterface |
||
19 | */ |
||
20 | private $cartRepository; |
||
21 | |||
22 | /** |
||
23 | * @var ViewHandlerInterface |
||
24 | */ |
||
25 | private $viewHandler; |
||
26 | |||
27 | /** |
||
28 | * @var CommandBus |
||
29 | */ |
||
30 | private $bus; |
||
31 | |||
32 | /** |
||
33 | * @param OrderRepositoryInterface $cartRepository |
||
34 | * @param ViewHandlerInterface $viewHandler |
||
35 | * @param CommandBus $bus |
||
36 | */ |
||
37 | public function __construct(OrderRepositoryInterface $cartRepository, ViewHandlerInterface $viewHandler, CommandBus $bus) |
||
43 | |||
44 | /** |
||
45 | * @param Request $request |
||
46 | * |
||
47 | * @return Response |
||
48 | */ |
||
49 | public function __invoke(Request $request) |
||
59 | |||
60 | } |
||
61 |