ContainerAwareRuntimeLoader deprecated

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部