Undefined variable $template_engine
I followed the installation instructions for composer.
Your examples use $template_engine, like:
$template_engine->render('comment', $row);
I get this error:
Warning: Undefined variable $template_engine in /home/xyz/easydb/test.php on line 25 Fatal error: Uncaught Error: Call to a member function render() on null in
I've search the whole source code and I'm not able to find a reference to $template_engine. What am I missing?
This appears to be an error in /home/xyz/easydb/test.php on line 25 rather than anything within EasyDB
The example in the Readme assumes that $template_engine is... A template engine. Such as Twig.
It might be better to replace $template_engine with var_dump(), as you can't expect everyone to know what that means.