35 return file_exists($this->path) && filemtime($this->path) <=
$timestamp;
40 return file_exists($this->path) ? file_get_contents($this->path) :
'';
isFresh($timestamp)
Checks if a timestamp represents the latest resource.
__construct($path)
Constructor.
A resource is something formulae can be loaded from.
getContent()
Returns the content of the resource.
foreach($mandatory_scripts as $file) $timestamp
A resource is something formulae can be loaded from.
__toString()
Returns a unique string for the current resource.