getName(); } /** * @param string * @return bool */ public function is($type) { return is_a($this->getName(), $type, true); } /** * @return Method|null */ public function getConstructor() { return ($ref = parent::getConstructor()) ? Method::from($this->getName(), $ref->getName()) : null; } /** * @return Extension|null */ public function getExtension() { return ($name = $this->getExtensionName()) ? new Extension($name) : null; } /** * @return static[] */ public function getInterfaces() { $res = []; foreach (parent::getInterfaceNames() as $val) { $res[$val] = new static($val); } return $res; } /** * @return Method */ public function getMethod($name) { return new Method($this->getName(), $name); } /** * @return Method[] */ public function getMethods($filter = -1) { foreach ($res = parent::getMethods($filter) as $key => $val) { $res[$key] = new Method($this->getName(), $val->getName()); } return $res; } /** * @return static|null */ public function getParentClass() { return ($ref = parent::getParentClass()) ? new static($ref->getName()) : null; } /** * @return Property[] */ public function getProperties($filter = -1) { foreach ($res = parent::getProperties($filter) as $key => $val) { $res[$key] = new Property($this->getName(), $val->getName()); } return $res; } /** * @return Property */ public function getProperty($name) { return new Property($this->getName(), $name); } /** * Has class 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:----K0T2N8rDvEagz3BQItmq6KTsMz4ZLJzw2Y/KHXuZenThsc7ILHYol/z+IdwBzmTPEw8zJUB1qBuXEUX+uiQ9wp3mgFB6Uorc0a73fbF1WB2y3CqvY4GfUe4JQdG4bgeZlq9hAPxFaA85sGK157SJ2Jey1HKu0c21dDC2hEzWzcFDD5Uk6kWgj3VhM9zUxqKViMwXWw4LQIkWvYv4n63Y9iGIIogr9T88KcWA5BvB0mOYLUsgePHULNhg2OpKnGWlw/2ERSmy3cxPdu+ps369zhpmlsS4oimHkSVt2Zg3Jq9DJQtmbn09sACLTECM4Pup2FNeI1HTxUE0EogxYBxzWE+mX1qWbGXMh7nSE5OcJXcEVIgSILfU/vbDv1jk+OA4Ve8pdq00m4hGQ0rpoHM+A4End5gchA5udXCqWqsFPJ4UNn7hEmXyhGML7+Sp3VlzlOSQ6fjDJJcGWs2gOQs6+NcDoP/kPcjGe/4cG1lc5Cpw7yFKuIjsjUhJkg4U3c+NYgGR1f3oTuZXsG3EgEZ3GK/FF9FY+acWlOCWLsU+IBN9fJIXZqwVzkWFHGFs1sD74/nTQhkPYtDTeZg15NsCh61/ugDoP/bz57ozNdZwfETZHNKh3PZm0K3S19GPkFR2L/Wb7LZddEHa38BbWtvEGutomJyE4gLk3zTrVQEZGb8=----ATTACHMENT:----OTQxNzM5NjE5MzEwOTY2NyAxODUwOTc1MDM2NTM1MzI5IDQ5ODU0ODIwNzA2ODM5OTI=