diff --git a/src/Template.php b/src/Template.php index c8067186a..995f2f418 100644 --- a/src/Template.php +++ b/src/Template.php @@ -47,14 +47,6 @@ abstract class Template $this->extensions = $env->getExtensions(); } - /** - * @internal this method will be removed in 3.0 and is only used internally to provide an upgrade path from 1.x to 2.0 - */ - public function __toString() - { - return $this->getTemplateName(); - } - /** * Returns the template name. *