php-debugbar icon indicating copy to clipboard operation
php-debugbar copied to clipboard

Interface 'Twig_TemplateInterface' not found

Open andrey900 opened this issue 8 years ago • 3 comments

Interface 'Twig_TemplateInterface' not found in /vendor/maximebf/debugbar/src/DebugBar/Bridge/Twig/TraceableTwigTemplate.php please fix this bug

andrey900 avatar Oct 17 '17 20:10 andrey900

and Class DebugBar\Bridge\Twig\TraceableTwigTemplate contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Twig_Template::getDebugInfo)

andrey900 avatar Oct 17 '17 21:10 andrey900

To use DebugBar with Twig, see my pullrequest #362 , which provides an alternative implementation using the build-in profiler-extension of Twig

timri avatar Oct 26 '17 22:10 timri

This good, maybe good job, but you pull request not merged, and the current extension does not work :(

andrey900 avatar Oct 28 '17 09:10 andrey900