ContainerAwareRuntimeLoader

class ContainerAwareRuntimeLoader implements RuntimeLoaderInterface

Loads Twig extension runtimes via the service container.

Methods

__construct(ContainerInterface $container, array $mapping, LoggerInterface $logger = null)
load($class)

{@inheritdoc}

Details

__construct(ContainerInterface $container, array $mapping, LoggerInterface $logger = null)

Parameters

ContainerInterface $container
array $mapping
LoggerInterface $logger

load($class)

{@inheritdoc}

Parameters

$class

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Bundle/TwigBundle/ContainerAwareRuntimeLoader.html