FilesystemPublisher::generatePHPCacheFile
Generate the templated content for a PHP script that can serve up the given piece of content with the given age and expiry.
Signature
protected function generatePHPCacheFile(string
$content,
string
$age,
string
$lastModified,
string
$contentType )
Parameters
$content
— string$age
— string$lastModified
— string$contentType
— string
Returns
- string