1 | <?php |
||
14 | final class DropCartAction |
||
15 | { |
||
16 | /** |
||
17 | * @var ViewHandlerInterface |
||
18 | */ |
||
19 | private $viewHandler; |
||
20 | |||
21 | /** |
||
22 | * @var CommandBus |
||
23 | */ |
||
24 | private $bus; |
||
25 | |||
26 | /** |
||
27 | * @var ValidatorInterface |
||
28 | */ |
||
29 | private $validator; |
||
30 | |||
31 | /** |
||
32 | * @var ValidationErrorViewFactoryInterface |
||
33 | */ |
||
34 | private $validationErrorViewFactory; |
||
35 | |||
36 | /** |
||
37 | * @param ViewHandlerInterface $viewHandler |
||
38 | * @param CommandBus $bus |
||
39 | * @param ValidatorInterface $validator |
||
40 | * @param ValidationErrorViewFactoryInterface $validationErrorViewFactory |
||
41 | */ |
||
42 | public function __construct( |
||
53 | |||
54 | /** |
||
55 | * @param Request $request |
||
56 | * |
||
57 | * @return Response |
||
58 | */ |
||
59 | public function __invoke(Request $request) |
||
73 | } |
||
74 |