PHP 클래스 Neos\Flow\Reflection\MethodReflection

상속: extends ReflectionMethod
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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