W3cubDocs

/Symfony 3.3

ContainerAwareRuntimeLoader deprecated

class ContainerAwareRuntimeLoader implements RuntimeLoaderInterface

deprecated

since version 3.3, will be removed in 4.0. Use \Twig\Loader\ContainerRuntimeLoader instead.

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.3/Symfony/Bundle/TwigBundle/ContainerAwareRuntimeLoader.html