1 | <?php |
||
14 | final class SummarizeAction |
||
15 | { |
||
16 | /** |
||
17 | * @var OrderRepositoryInterface |
||
18 | */ |
||
19 | private $cartRepository; |
||
20 | |||
21 | /** |
||
22 | * @var ViewHandlerInterface |
||
23 | */ |
||
24 | private $viewHandler; |
||
25 | |||
26 | /** |
||
27 | * @var CartViewFactoryInterface |
||
28 | */ |
||
29 | private $cartViewFactory; |
||
30 | |||
31 | /** |
||
32 | * @param OrderRepositoryInterface $cartRepository |
||
33 | * @param ViewHandlerInterface $viewHandler |
||
34 | * @param CartViewFactoryInterface $cartViewFactory |
||
35 | */ |
||
36 | public function __construct( |
||
45 | |||
46 | /** |
||
47 | * @param Request $request |
||
48 | * |
||
49 | * @return Response |
||
50 | */ |
||
51 | public function __invoke(Request $request) |
||
64 | } |
||
65 |