Свойство | Тип | Описание | |
---|---|---|---|
$docCommentParser |
Метод | Описание | |
---|---|---|
getDeclaredReturnType ( ) : string | ||
getDeclaringClass ( ) : |
Returns the declaring class | |
getDescription ( ) : string | Returns the description part of the doc comment | |
getParameters ( ) : array |
Replacement for the original getParameters() method which makes sure that ParameterReflection objects are returned instead of the original ReflectionParameter instances. | |
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 |
Метод | Описание | |
---|---|---|
getDocCommentParser ( ) : |
Returns an instance of the doc comment parser and runs the parse() method. |
public getDeclaredReturnType ( ) : string | ||
Результат | string | The name of a type (e.g. string, \stdClass) if it was declared as a return type, null otherwise |
public getDeclaringClass ( ) : |
||
Результат | The declaring class |
public getDescription ( ) : string | ||
Результат | string | Doc comment description |
protected getDocCommentParser ( ) : |
||
Результат |
public getParameters ( ) : array |
||
Результат | array |
public getTagValues ( string $tag ) : array | ||
$tag | string | Tag name to check for |
Результат | 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 |