ResponseDocument.php
getContent()
Get the content of the document NOTE The result might be null depending on the implementation.
getFilename()
Get the filename used in the 'Content-Disposition' header when used as a download.
ResponseDocument is the interface for media returned in a response when using the DownloadFormat.
Definition: ResponseDocument.php:20
getCacheDate()
Get the cache date of the document, if it is cached locally.
isDownload()
Determine whether the document should be return as download or not.