PHP 클래스 CRUDlex\StreamedFileResponse

파일 보기 프로젝트 열기: philiplb/crudlex 1 사용 예제들

공개 메소드들

메소드 설명
getStreamedFileFunction ( string $file ) : Closure Generates a lambda which is streaming the given file to standard output.

메소드 상세

getStreamedFileFunction() 공개 메소드

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