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)

No description

load($class)

{@inheritdoc}

Details

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

Parameters

ContainerInterface $container
array $mapping
LoggerInterface $logger

at line 43
load($class)

{@inheritdoc}

Parameters

$class