1 | <?php |
||
18 | class StreamedFileResponse |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * Generates a lambda which is streaming the given file to standard output. |
||
23 | * |
||
24 | * @param string $file |
||
25 | * the filename to stream |
||
26 | * |
||
27 | * @return \Closure |
||
28 | * the generated lambda |
||
29 | */ |
||
30 | 2 | public function getStreamedFileFunction($file) |
|
46 | |||
47 | } |
||
48 |