35 return $this->loader->getSource($this->name);
36 }
catch (\Twig_Error_Loader $e) {
44 return $this->loader->isFresh($this->name,
$timestamp);
45 }
catch (\Twig_Error_Loader $e) {
__toString()
Returns a unique string for the current resource.
isFresh($timestamp)
Checks if a timestamp represents the latest resource.
A resource is something formulae can be loaded from.
A Twig template resource.
getContent()
Returns the content of the resource.
__construct(\Twig_LoaderInterface $loader, $name)
foreach($mandatory_scripts as $file) $timestamp