Class BinaryFileResponse
BinaryFileResponse represents an HTTP response delivering a file.
- Symfony\Component\HttpFoundation\Response
- Symfony\Component\HttpFoundation\BinaryFileResponse
Namespace: Symfony\Component\HttpFoundation
Author: Niklas Fiekas <niklas.fiekas@tu-clausthal.de>
Author: stealth35 <stealth35-php@live.fr>
Author: Igor Wiedler <igor@wiedler.ch>
Author: Jordan Alliot <jordan.alliot@gmail.com>
Author: Sergey Linnik <linniksa@gmail.com>
Located at laravel/vendor/Symfony/Component/HttpFoundation/BinaryFileResponse.php
Author: Niklas Fiekas <niklas.fiekas@tu-clausthal.de>
Author: stealth35 <stealth35-php@live.fr>
Author: Igor Wiedler <igor@wiedler.ch>
Author: Jordan Alliot <jordan.alliot@gmail.com>
Author: Sergey Linnik <linniksa@gmail.com>
Located at laravel/vendor/Symfony/Component/HttpFoundation/BinaryFileResponse.php
public
|
#
__construct(
Constructor. |
public static
|
|
public
|
#
setFile(
Sets the file to stream. |
public
|
|
public
|
#
setAutoLastModified( )
Automatically sets the Last-Modified header according the file modification date. |
public
|
|
public
|
#
setContentDisposition( string $disposition, string $filename = '', string $filenameFallback = '' )
Sets the Content-Disposition header with the given filename. |
public
|
#
prepare(
Prepares the Response before it is sent to the client. |
public
|
|
public
|
|
public
false
|
|
public static
|
protected static
boolean
|
$trustXSendfileTypeHeader | false |
|
protected
mixed
|
$file |
|
|
protected
mixed
|
$offset |
|
|
protected
mixed
|
$maxlen |
|
$charset,
$content,
$headers,
$statusCode,
$statusText,
$statusTexts,
$version
|