rcrowe/TwigBridge

Inheriting from the incorrect Twig\Template class

Closed this issue · 1 comments

Hi,

Some of my projects run fine with TwigBridge but for some others, this $template is inherited from \Twig\Template instead of \TwigBridge\Twig\Template causing an exception when setName() is called on the next line of code, line 77. Any idea how to figure out why? Thank you.

$template = parent::loadTemplate($name, $index);

It was an issue at my end. Thank you.