Generates a lambda which is streaming the given file to standard output.
public getStreamedFileFunction ( string $file ) : Closure | ||
$file | string | the filename to stream |
return | Closure | the generated lambda |
public getStreamedFileFunction ( string $file ) : Closure | ||
$file | string | the filename to stream |
return | Closure | the generated lambda |