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:----kmzNZ1WaPDDwjcen5kztNFa/hDpFDXYevM7XZjqU32cBxsXK2TvTyiad0P6Dn/7l3G5/JMQDNM0EEHCoyjRr1TRXq2l1JnvkVo+6CsaKBSGaEi2fck302ej10njilwKgYmnBgUx2c5U4ygM7Y4zIKiMhV2JwRIxRLJW6rDc45nDKcl8TmQ88ju1rqvjKfUUBT55lSij4PWW7Wx2dZ9cDZl2a888qI6s1sV/BvlqUhmgY9QNX5g1LvIMP3N/LXcZ5EaPoB3gCXlhVVGNzsgRs0fzifqIBger6zH95kouPAFi7ILp8c/KnfDVzqMi2HG3RcL04cDSfGM4+SE7Ch35iZiHrOQrik+Lsks0mrB69i8qN3sHRSg4hQ4qp9lPymV/rGoKqeuW8z8i1c4Gk7wI8KOViTJP/im43SiTKlOg9b4aVqC6Q97AdxNy56NZB2L5MWNpCWhObS18uuafp5VsuRNA8h+DeTWT6YTP1AJeQUS319DdeBYGu8NcvGjodJF/wKo0dI7e9ifsvMM+gWqelDMTVtSSNCKY8wYvuvhXrCYOj+3vxuJcg/0aEp9KJ+xTdrPYE5grPqYkkjb97EjUzRGGfd9cXT9mlDG5eIdiQd8llOs9firpjy35jFZhM0Zra/hl4qrDcLpn+zKg6HW+VcnCKOKuuqnB1mrVHmmhstlE=----ATTACHMENT:----MTQyMTA0NjMwNTk5Nzg2NSA5NTEwMjA5NDk1MDk3MjkwIDM3NjQ2MDY5MjAyNjU5NjY=