mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 11:27:00 +00:00
removed Template::__toString()
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user