PHP Class Assetic\Extension\Twig\TwigFormulaLoader

Author: Kris Wallsmith ([email protected])
Inheritance: implements Assetic\Factory\Loader\FormulaLoaderInterface
Afficher le fichier Open project: kriswallsmith/assetic Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Twig_Environment $twig, Psr\Log\LoggerInterface $logger = null )
load ( Assetic\Factory\Resource\ResourceInterface $resource )

Private Methods

Méthode Description
loadNode ( Twig_Node $node ) : array Loads assets from the supplied node.

Method Details

__construct() public méthode

public __construct ( Twig_Environment $twig, Psr\Log\LoggerInterface $logger = null )
$twig Twig_Environment
$logger Psr\Log\LoggerInterface

load() public méthode

public load ( Assetic\Factory\Resource\ResourceInterface $resource )
$resource Assetic\Factory\Resource\ResourceInterface