made some cleanup
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Tue, 22 Dec 2009 16:38:09 +0000 (16:38 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Tue, 22 Dec 2009 16:38:09 +0000 (16:38 +0000)
git-svn-id: http://svn.twig-project.org/trunk@206 93ef8e89-cb99-4229-a87c-7fa0fa45744b

lib/Twig/Extension/Core.php
lib/Twig/Extension/Escaper.php

index 9c2ed90..b598b28 100644 (file)
 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.
    *
    * @return array An array of Twig_TokenParser instances
@@ -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());
   }
 
   /**
index 4a8a7cc..4de858e 100644 (file)
@@ -18,15 +18,6 @@ class Twig_Extension_Escaper 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.
    *
    * @return array An array of Twig_TokenParser instances