mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-14 19:36:43 +00:00
added missing getter on GetAttr node class
git-svn-id: http://svn.twig-project.org/trunk@199 93ef8e89-cb99-4229-a87c-7fa0fa45744b
This commit is contained in:
@@ -29,6 +29,11 @@ class Twig_Node_Expression_GetAttr extends Twig_Node_Expression implements Twig_
|
||||
return get_class($this).'('.$this->node.', '.$this->attr.')';
|
||||
}
|
||||
|
||||
public function getNode()
|
||||
{
|
||||
return $this->node;
|
||||
}
|
||||
|
||||
public function getNodes()
|
||||
{
|
||||
return array($this->node);
|
||||
|
||||
Reference in New Issue
Block a user