Asm89\Twig\Lint\StubbedEnvironment::__construct PHP Method

__construct() public method

{@inheritDoc}
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);
    }