public function BinaryFileResponse::deleteFileAfterSend in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-foundation/BinaryFileResponse.php \Symfony\Component\HttpFoundation\BinaryFileResponse::deleteFileAfterSend()
If this is set to true, the file will be unlinked after the request is send Note: If the X-Sendfile header is used, the deleteFileAfterSend setting will not be used.
Parameters
bool $shouldDelete:
Return value
File
- vendor/
symfony/ http-foundation/ BinaryFileResponse.php, line 316
Class
- BinaryFileResponse
- BinaryFileResponse represents an HTTP response delivering a file.
Namespace
Symfony\Component\HttpFoundationCode
public function deleteFileAfterSend($shouldDelete) {
$this->deleteFileAfterSend = $shouldDelete;
return $this;
}