diff --git a/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php b/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php index 5481a270c66..98f6f2f2b18 100644 --- a/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php +++ b/eZ/Bundle/EzPublishDebugBundle/Twig/DebugTemplate.php @@ -16,7 +16,7 @@ * Wraps the display method to: * - Inject debug info into template to be able to see in the markup which one is used */ -abstract class DebugTemplate extends Twig_Template +class DebugTemplate extends Twig_Template { public function display(array $context, array $blocks = array()) { @@ -60,4 +60,36 @@ public function display(array $context, array $blocks = array()) echo $templateResult; } } + + /** + * {@inheritdoc} + */ + public function getTemplateName() + { + return ''; + } + + /** + * {@inheritdoc} + */ + public function getSource() + { + return ''; + } + + /** + * {@inheritdoc} + */ + protected function doDisplay(array $context, array $blocks = array()) + { + return ''; + } + + /** + * {@inheritdoc} + */ + public function getDebugInfo() + { + return array(); + } }