Свойство | Тип | Описание | |
---|---|---|---|
$docCommentParser | Holds an instance of the doc comment parser for this class |
Метод | Описание | |
---|---|---|
__construct ( mixed $classNameOrObject ) | ||
getConstructor ( ) : |
Replacement for the original getConstructor() method which makes sure that MethodReflection objects are returned instead of the original ReflectionMethod instances. | |
getDescription ( ) : string | Returns the description part of the doc comment | |
getInterfaces ( ) : array |
Replacement for the original getInterfaces() method which makes sure that ClassReflection objects are returned instead of the original ReflectionClass instances. | |
getMethod ( string $name ) : |
Replacement for the original getMethod() method which makes sure that MethodReflection objects are returned instead of the orginal ReflectionMethod instances. | |
getMethods ( integer $filter = null ) : |
Replacement for the original getMethods() method which makes sure that MethodReflection objects are returned instead of the original ReflectionMethod instances. | |
getParentClass ( ) : |
Replacement for the original getParentClass() method which makes sure that a ClassReflection object is returned instead of the orginal ReflectionClass instance. | |
getProperties ( integer $filter = null ) : array |
Replacement for the original getProperties() method which makes sure that PropertyReflection objects are returned instead of the orginal ReflectionProperty instances. | |
getProperty ( string $name ) : |
Replacement for the original getProperty() method which makes sure that a PropertyReflection object is returned instead of the orginal ReflectionProperty instance. | |
getTagValues ( string $tag ) : array | Returns the values of the specified tag | |
getTagsValues ( ) : array | Returns an array of tags and their values | |
isTaggedWith ( string $tag ) : boolean | Checks if the doc comment of this method is tagged with the specified tag | |
newInstanceWithoutConstructor ( ) : object | Creates a new class instance without invoking the constructor. |
Метод | Описание | |
---|---|---|
getDocCommentParser ( ) : |
Returns an instance of the doc comment parser and runs the parse() method. |
public __construct ( mixed $classNameOrObject ) | ||
$classNameOrObject | mixed | the name of the class or the object to be reflected. |
public getConstructor ( ) : |
||
Результат | Method reflection object of the constructor method |
public getDescription ( ) : string | ||
Результат | string | Doc comment description |
protected getDocCommentParser ( ) : |
||
Результат |
public getInterfaces ( ) : array |
||
Результат | array |
public getMethods ( integer $filter = null ) : |
||
$filter | integer | A filter mask |
Результат | Method reflection objects of the methods in this class |
public getParentClass ( ) : |
||
Результат | Reflection of the parent class - if any |
public getProperties ( integer $filter = null ) : array |
||
$filter | integer | A filter mask |
Результат | array |
public getProperty ( string $name ) : |
||
$name | string | Name of the property |
Результат | Property reflection object of the specified property in this class |
public getTagValues ( string $tag ) : array | ||
$tag | string | |
Результат | array | Values of the given tag |
public getTagsValues ( ) : array | ||
Результат | array | Tags and values |
public isTaggedWith ( string $tag ) : boolean | ||
$tag | string | Tag name to check for |
Результат | boolean | TRUE if such a tag has been defined, otherwise FALSE |
public newInstanceWithoutConstructor ( ) : object | ||
Результат | object |