added missing getter on Block node class
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Tue, 22 Dec 2009 13:12:48 +0000 (13:12 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Tue, 22 Dec 2009 13:12:48 +0000 (13:12 +0000)
git-svn-id: http://svn.twig-project.org/trunk@197 93ef8e89-cb99-4229-a87c-7fa0fa45744b

lib/Twig/Node/Block.php

index 8b5a64a..796a5c4 100644 (file)
@@ -76,6 +76,11 @@ class Twig_Node_Block extends Twig_Node implements Twig_NodeListInterface
     ;
   }
 
+  public function getName()
+  {
+    return $this->name;
+  }
+
   public function getParent()
   {
     return $this->parent;