PHP Класс Neos\Flow\Reflection\MethodReflection

Наследование: extends ReflectionMethod
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$docCommentParser

Открытые методы

Метод Описание
getDeclaredReturnType ( ) : string
getDeclaringClass ( ) : ClassReflection 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 ( ) : DocCommentParser Returns an instance of the doc comment parser and runs the parse() method.

Описание методов

getDeclaredReturnType() публичный Метод

public getDeclaredReturnType ( ) : string
Результат string The name of a type (e.g. string, \stdClass) if it was declared as a return type, null otherwise

getDeclaringClass() публичный Метод

Returns the declaring class
public getDeclaringClass ( ) : ClassReflection
Результат ClassReflection The declaring class

getDescription() публичный Метод

Returns the description part of the doc comment
public getDescription ( ) : string
Результат string Doc comment description

getDocCommentParser() защищенный Метод

Returns an instance of the doc comment parser and runs the parse() method.
protected getDocCommentParser ( ) : DocCommentParser
Результат DocCommentParser

getParameters() публичный Метод

Replacement for the original getParameters() method which makes sure that ParameterReflection objects are returned instead of the original ReflectionParameter instances.
public getParameters ( ) : array
Результат array

getTagValues() публичный Метод

Returns the values of the specified tag
public getTagValues ( string $tag ) : array
$tag string Tag name to check for
Результат array Values of the given tag

getTagsValues() публичный Метод

Returns an array of tags and their values
public getTagsValues ( ) : array
Результат array Tags and values

isTaggedWith() публичный Метод

Checks if the doc comment of this method is tagged with the specified tag
public isTaggedWith ( string $tag ) : boolean
$tag string Tag name to check for
Результат boolean TRUE if such a tag has been defined, otherwise FALSE

Описание свойств

$docCommentParser защищенное свойство

protected $docCommentParser