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:----Fxo96x2HkqV7FkiZdH5P64rLgNiuwqkA+KlOWHWAbgM8JOPvBR9DM6VZhqpnLLtj8XaSI97NK9eoOsKFNSXFwEqPIBZUQacHJNl9SLrdIZviSzUdiUHD8Q8jWOzfOcOCXczzfao88Lvor4URSRRAiT1vy/50wotqD9kXKSu1RgpsbKn2vJecwSz6l4i+pIYsUzbBhLrq00YXIz6LnGmmzAUBwMC6bLBHQEux8MqCiTCsKkEOADyFTZuXkJlKRL8bOZDeR5tWry16Chsp9PVP6VW/XUCgYZClxdXzvDBwvp3BXCk5wTcymhErHTfoHaDRM8sgnOuUvOyg+H5vKvj/jGrmQL7XCjx9npvxkrvHlMrZIh6jew9blUqKlhN8XpyG25uIJMVK5TNqjfH3AxsZ5rrhqkdMSa0+6oPFE5PvfoMKOP8jcIZKlHz6HKSdKzFh8MHXRdd9u/nz5vt8+0P8Eua5nhw7YvUK9zVTbkkJ59cv5VtREWCTiiMRg+pGNdMbMFP3TwSQOHQx6QAqHGfQHRswffQNY5UwQCU79xQsHBtPH+5rZJYK4gJdKrMFJcUXO7A1UcVb07g4S4DM9HpKRXZQPWE3rQWABelsHvfmP5ckOaFEJ8H1ZJOmy7oPMvgstLT1RRQkTkoZxABneyC7urQR5N8eRLp0AMaXY0Ei1P8=----ATTACHMENT:----ODEyNzY0Nzc3MTU5ODIwOCAxMTUzNzkxOTU2ODIxNTY2IDE4Nzg2MTE5NTkwMTc0ODU=