removed Template::__toString()

This commit is contained in:
Fabien Potencier
2019-04-23 18:29:40 +02:00
parent 02767df5c0
commit 802646aa5e
-8
View File
@@ -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.
*