mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-10 17:36:53 +00:00
made the getSource() method non-abstract for BC
This commit is contained in:
@@ -56,7 +56,10 @@ abstract class Twig_Template implements Twig_TemplateInterface
|
||||
*
|
||||
* @return string The template source code
|
||||
*/
|
||||
abstract public function getSource();
|
||||
public function getSource()
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated since 1.20 (to be removed in 2.0)
|
||||
|
||||
Reference in New Issue
Block a user