class TwigResource

A Twig template resource.

@author Kris Wallsmith <kris.wallsmith@gmail.com>

Hierarchy

Expanded class hierarchy of TwigResource

1 file declares its use of TwigResource

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/Extension/Twig/TwigResource.php, line 21

Namespace

Assetic\Extension\Twig
View source

Members

Namesort descending Modifiers Type Description Overrides
TwigResource::$loader private property
TwigResource::$name private property
TwigResource::getContent public function Returns the content of the resource. Overrides ResourceInterface::getContent
TwigResource::isFresh public function Checks if a timestamp represents the latest resource. Overrides ResourceInterface::isFresh
TwigResource::__construct public function
TwigResource::__toString public function Returns a unique string for the current resource. Overrides ResourceInterface::__toString