|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
A Twig template resource. More...
Inheritance diagram for Assetic\Extension\Twig\TwigResource:
Collaboration diagram for Assetic\Extension\Twig\TwigResource:Public Member Functions | |
| __construct (\Twig_LoaderInterface $loader, $name) | |
| getContent () | |
| Returns the content of the resource. More... | |
| isFresh ($timestamp) | |
| Checks if a timestamp represents the latest resource. More... | |
| __toString () | |
| Returns a unique string for the current resource. More... | |
| 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... | |
Private Attributes | |
| $loader | |
| $name | |
A Twig template resource.
Definition at line 21 of file TwigResource.php.
| Assetic\Extension\Twig\TwigResource::__construct | ( | \Twig_LoaderInterface | $loader, |
| $name | |||
| ) |
Definition at line 26 of file TwigResource.php.
References Assetic\Extension\Twig\TwigResource\$loader, and Assetic\Extension\Twig\TwigResource\$name.
| Assetic\Extension\Twig\TwigResource::__toString | ( | ) |
Returns a unique string for the current resource.
Implements Assetic\Factory\Resource\ResourceInterface.
Definition at line 50 of file TwigResource.php.
References Assetic\Extension\Twig\TwigResource\$name.
| Assetic\Extension\Twig\TwigResource::getContent | ( | ) |
Returns the content of the resource.
Implements Assetic\Factory\Resource\ResourceInterface.
Definition at line 32 of file TwigResource.php.
| Assetic\Extension\Twig\TwigResource::isFresh | ( | $timestamp | ) |
Checks if a timestamp represents the latest resource.
| integer | $timestamp | A UNIX timestamp |
Implements Assetic\Factory\Resource\ResourceInterface.
Definition at line 41 of file TwigResource.php.
References $timestamp.
|
private |
Definition at line 23 of file TwigResource.php.
Referenced by Assetic\Extension\Twig\TwigResource\__construct().
|
private |
Definition at line 24 of file TwigResource.php.
Referenced by Assetic\Extension\Twig\TwigResource\__construct(), and Assetic\Extension\Twig\TwigResource\__toString().