PHP Class CRUDlex\StreamedFileResponse

Afficher le fichier Open project: philiplb/crudlex Class Usage Examples

Méthodes publiques

Méthode Description
getStreamedFileFunction ( string $file ) : Closure Generates a lambda which is streaming the given file to standard output.

Method Details

getStreamedFileFunction() public méthode

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