public function getNode() { return new Stmt\ClassMethod($this->name, array( 'flags' => $this->flags, 'byRef' => $this->returnByRef, 'params' => $this->params, 'returnType' => $this->returnType, 'stmts' => $this->stmts, ), $this->attributes); }