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.
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 whensetName()
is called on the next line of code, line 77. Any idea how to figure out why? Thank you.https://github.com/rcrowe/TwigBridge/blob/b8bd5db744d51adb11623547f281dfaf5ac60230/src/Bridge.php#L75