BinaryFileResponse::deleteFileAfterSend()

BinaryFileResponse deleteFileAfterSend(bool $shouldDelete)

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

BinaryFileResponse
doc_Symfony
2016-10-28 06:06:54
Comments
Leave a Comment

Please login to continue.