| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | final class ProductVariantIndexAction |
||
| 15 | { |
||
| 16 | /** @var ViewHandlerInterface */ |
||
| 17 | private $viewHandler; |
||
| 18 | |||
| 19 | /** @var ProductVariantViewRepositoryInterface */ |
||
| 20 | private $productVariantViewRepository; |
||
| 21 | |||
| 22 | public function __construct( |
||
| 23 | ViewHandlerInterface $viewHandler, |
||
| 24 | ProductVariantViewRepositoryInterface $productVariantViewRepository |
||
| 25 | ) { |
||
| 26 | $this->viewHandler = $viewHandler; |
||
| 27 | $this->productVariantViewRepository = $productVariantViewRepository; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function __invoke(Request $request): Response |
||
| 41 | ) |
||
| 42 | ); |
||
| 45 |