mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
made some cleanup
git-svn-id: http://svn.twig-project.org/trunk@206 93ef8e89-cb99-4229-a87c-7fa0fa45744b
This commit is contained in:
@@ -10,15 +10,6 @@
|
||||
*/
|
||||
class Twig_Extension_Core extends Twig_Extension
|
||||
{
|
||||
/**
|
||||
* Initializes the runtime environment.
|
||||
*
|
||||
* This is where you can load some file that contains filter functions for instance.
|
||||
*/
|
||||
public function initRuntime()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the token parser instance to add to the existing list.
|
||||
*
|
||||
@@ -49,9 +40,7 @@ class Twig_Extension_Core extends Twig_Extension
|
||||
*/
|
||||
public function getNodeVisitors()
|
||||
{
|
||||
return array(
|
||||
new Twig_NodeVisitor_Filter(),
|
||||
);
|
||||
return array(new Twig_NodeVisitor_Filter());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,15 +17,6 @@ class Twig_Extension_Escaper extends Twig_Extension
|
||||
$this->autoescape = $autoescape;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes the runtime environment.
|
||||
*
|
||||
* This is where you can load some file that contains filter functions for instance.
|
||||
*/
|
||||
public function initRuntime()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the token parser instance to add to the existing list.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user