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