Not working in Lumen
burgoyn1 opened this issue · 1 comments
burgoyn1 commented
I followed the instructions to add the package to lumen, but I get the following error:
Call to undefined function TwigBridge\Node\resolve()
In the file: /src/Node/EventNode.php on line 32, the function resolve() is called, but it is undefined.
mastir commented
src/Node/EventNode.php:33
- $env = resolve('view');
+ $env = app('view');
resolve()
is a helper function in laravel, doing nothing but call app()
probably left for compatibility with older versions. helpers are not loaded by default in Lumen