ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
A resource is something formulae can be loaded from. More...
Public Member Functions | |
isFresh ($timestamp) | |
Checks if a timestamp represents the latest resource. More... | |
getContent () | |
Returns the content of the resource. More... | |
__toString () | |
Returns a unique string for the current resource. More... | |
A resource is something formulae can be loaded from.
Definition at line 19 of file ResourceInterface.php.
Assetic\Factory\Resource\ResourceInterface::__toString | ( | ) |
Returns a unique string for the current resource.
Implemented in Assetic\Factory\Resource\DirectoryResource, Assetic\Factory\Resource\CoalescingDirectoryResource, Assetic\Extension\Twig\TwigResource, and Assetic\Factory\Resource\FileResource.
Assetic\Factory\Resource\ResourceInterface::getContent | ( | ) |
Returns the content of the resource.
Implemented in Assetic\Factory\Resource\DirectoryResource, Assetic\Factory\Resource\CoalescingDirectoryResource, Assetic\Factory\Resource\FileResource, and Assetic\Extension\Twig\TwigResource.
Referenced by Assetic\Extension\Twig\TwigFormulaLoader\load(), and Assetic\Factory\Loader\BasePhpFormulaLoader\load().
Assetic\Factory\Resource\ResourceInterface::isFresh | ( | $timestamp | ) |
Checks if a timestamp represents the latest resource.
integer | $timestamp | A UNIX timestamp |
Implemented in Assetic\Extension\Twig\TwigResource, Assetic\Factory\Resource\DirectoryResource, Assetic\Factory\Resource\CoalescingDirectoryResource, and Assetic\Factory\Resource\FileResource.