Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class HtmlMinify implements MiddlewareInterface |
||
15 | { |
||
16 | private $htmlMin; |
||
17 | private $container; |
||
18 | private $isActive; |
||
19 | |||
20 | 2 | public function __construct(HtmlMin $htmlMin, ContainerInterface $container, bool $isActive = true) |
|
25 | 2 | } |
|
26 | |||
27 | 2 | public function process(Request $request, RequestHandler $requestHandler): Response |
|
36 | } |
||
37 | |||
38 | 1 | private function minify(Response $response): Response |
|
47 |