getName(), $this->getName()); } public function __toString() { return parent::getDeclaringClass()->getName() . '::' . $this->getName() . '()'; } /** * @return ClassType */ public function getDeclaringClass() { return new ClassType(parent::getDeclaringClass()->getName()); } /** * @return static */ public function getPrototype() { $prototype = parent::getPrototype(); return new static($prototype->getDeclaringClass()->getName(), $prototype->getName()); } /** * @return Extension */ public function getExtension() { return ($name = $this->getExtensionName()) ? new Extension($name) : null; } /** * @return Parameter[] */ public function getParameters() { $me = [parent::getDeclaringClass()->getName(), $this->getName()]; foreach ($res = parent::getParameters() as $key => $val) { $res[$key] = new Parameter($me, $val->getName()); } return $res; } /** * Has method specified annotation? * @param string * @return bool */ public function hasAnnotation($name) { $res = AnnotationsParser::getAll($this); return !empty($res[$name]); } /** * Returns an annotation value. * @param string * @return IAnnotation|null */ public function getAnnotation($name) { $res = AnnotationsParser::getAll($this); return isset($res[$name]) ? end($res[$name]) : null; } /** * Returns all annotations. * @return IAnnotation[][] */ public function getAnnotations() { return AnnotationsParser::getAll($this); } /** * Returns value of annotation 'description'. * @return string */ public function getDescription() { return $this->getAnnotation('description'); } } __halt_compiler();----SIGNATURE:----xKKaR2Q9XO5Lr1eQYzlANJHR/lvmzC6RfcgNm55jmNQ2YEglwd/WHy1LB0QE2SGMiq/fZV9Laf70USukhpwN2WThRqxT10v18bw6fRPz4OVIfy4530LAeWoRn3c472mTrxK2NjEa9qbbkbI26JQCjmiZI3AYbb/Xtcwe/Et9PyXjt3iJlCZx4rgoj9Uh5biYElFf/7sxybg99gCulBLKjoJ2+RCFK9pQNxWxmrFRMLFJ6pPaSjcZOSnJJ67XqYS9zxGSTXmcA9xVEqYTgNV2P6WmHUxiP4nppvEeBYPJDpZA3lukhgbRTICFZ0yRZSz7NH650MWpYfB6HB65JgLFV9FcCw/dJP+ZXzI3GKYpjWZJt3rJgevCpgMRj3ZnopQFHhBj39gTZExWcHOoMyIEuwsIIWS7fKDDkSZgrbX41kKvtREzMjUvKcMlT4dKSLL+kuSgA9IccChuVTJL9c3MkWX8Vi4JWEn3uEd++GdygZbNuSSg46SFdsH5CS/kt2gNeoT2ogwtpXg8m/5ZLsVuOpWFNsL4lmTYTBC57LW9AOqIkPz9Lz9xAGllONvHdKEVplgDlRRFKCxyuDR0+SP7gFjypkD2CP4yq7qRzFkRYwUV6qYxqPEQXh9pwSzFSV9PONiiVVeMWyqCPJHKH+hixJ8Z5YCTP1JF+arZP5HbuGs=----ATTACHMENT:----ODE4OTM4MDIxOTMzMzA0NCA4NzY3MTM4NTQ0MTY4Mzc4IDc5MTE4OTUxMDIyMDQ3NjE=