public function __construct(Environment $environment) { $this->environment = $environment; }
public function __construct(Environment $environment, \Twig_Environment $twig, $template = 'commonmark.html.twig') { parent::__construct($environment); $this->twig = $twig; $this->defaultTemplate = $template; }