Total Complexity | 5 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
13 | final class FileHandler extends AbstractHandler |
||
14 | { |
||
15 | /** |
||
16 | * @var ObjectRepository |
||
17 | */ |
||
18 | private $fileRepository; |
||
19 | |||
20 | public function __construct(ObjectRepository $fileRepository) |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Serve a downloaded file from disk |
||
27 | */ |
||
28 | public function handle(ServerRequestInterface $request): ResponseInterface |
||
54 |