From: fabien Date: Tue, 22 Dec 2009 13:13:09 +0000 (+0000) Subject: added missing getter on Module node class X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=b17948b60279de8c9d27cede5a1b6448d3b54083;p=konrad%2Ftwig.git added missing getter on Module node class git-svn-id: http://svn.twig-project.org/trunk@198 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- diff --git a/lib/Twig/Node/Module.php b/lib/Twig/Node/Module.php index 55443e0..3d2274f 100644 --- a/lib/Twig/Node/Module.php +++ b/lib/Twig/Node/Module.php @@ -63,6 +63,11 @@ class Twig_Node_Module extends Twig_Node implements Twig_NodeListInterface return implode("\n", $repr); } + public function getBody() + { + return $this->body; + } + public function getNodes() { return array_merge(array($this->body), $this->blocks);