diff --git a/lib/Twig/Template.php b/lib/Twig/Template.php index 7f7f62a52..d64cfeb20 100644 --- a/lib/Twig/Template.php +++ b/lib/Twig/Template.php @@ -42,6 +42,15 @@ abstract class Twig_Template implements Twig_TemplateInterface */ abstract public function getTemplateName(); + /** + * Returns debug information about the template. + * + * @return array Debug information + * + * @internal + */ + abstract public function getDebugInfo(); + /** * @deprecated since 1.20 (to be removed in 2.0) */