1 | <?php |
||
21 | final class ProductSearchAction |
||
22 | { |
||
23 | /** |
||
24 | * @var ProductRepositoryInterface |
||
25 | */ |
||
26 | private $productRepository; |
||
27 | |||
28 | /** |
||
29 | * @var ViewHandler |
||
30 | */ |
||
31 | private $viewHandler; |
||
32 | |||
33 | /** |
||
34 | * @param ProductRepositoryInterface $productRepository |
||
35 | * @param ViewHandler $viewHandler |
||
36 | */ |
||
37 | public function __construct(ProductRepositoryInterface $productRepository, ViewHandler $viewHandler) |
||
42 | |||
43 | /** |
||
44 | * @param Request $request |
||
45 | * |
||
46 | * @return Response |
||
47 | */ |
||
48 | public function __invoke(Request $request): Response |
||
60 | } |
||
61 |