protected function getClassMethods(MethodContainer $methods) { $method = new PhpMethod(self::METHOD_NAME, array(), PhpMethod::ACCESS_PUBLIC, false, true, true); $this->addMethodBody($method); $methods->add($method); return $this; }