| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | final class FileHandler extends AbstractHandler |
||
| 14 | { |
||
| 15 | public function __construct( |
||
| 16 | private readonly ObjectRepository $fileRepository, |
||
| 17 | ) {} |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Serve a downloaded file from disk. |
||
| 21 | */ |
||
| 22 | public function handle(ServerRequestInterface $request): ResponseInterface |
||
| 46 | } |
||
| 47 | } |
||
| 48 |