public __construct ( Twig_LoaderInterface $loader = null, $options = [] ) | ||
$loader | Twig_LoaderInterface |
public function __construct(Twig_LoaderInterface $loader = null, $options = array())
{
parent::__construct($loader, $options);
$this->addExtension(new StubbedCore());
$this->initExtensions();
$broker = new StubbedTokenParserBroker();
$this->parsers->addTokenParserBroker($broker);
}