PHP 클래스 Neos\Flow\Reflection\ClassReflection

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

보호된 프로퍼티들

프로퍼티 타입 설명
$docCommentParser Holds an instance of the doc comment parser for this class

공개 메소드들

메소드 설명
__construct ( mixed $classNameOrObject )
getConstructor ( ) : MethodReflection 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 ) : MethodReflection Replacement for the original getMethod() method which makes sure that MethodReflection objects are returned instead of the orginal ReflectionMethod instances.
getMethods ( integer $filter = null ) : MethodReflection Replacement for the original getMethods() method which makes sure that MethodReflection objects are returned instead of the original ReflectionMethod instances.
getParentClass ( ) : ClassReflection 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 ) : PropertyReflection 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 ( ) : DocCommentParser Returns an instance of the doc comment parser and runs the parse() method.

메소드 상세

__construct() 공개 메소드

public __construct ( mixed $classNameOrObject )
$classNameOrObject mixed the name of the class or the object to be reflected.

getConstructor() 공개 메소드

Replacement for the original getConstructor() method which makes sure that MethodReflection objects are returned instead of the original ReflectionMethod instances.
public getConstructor ( ) : MethodReflection
리턴 MethodReflection Method reflection object of the constructor method

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

getInterfaces() 공개 메소드

Replacement for the original getInterfaces() method which makes sure that ClassReflection objects are returned instead of the original ReflectionClass instances.
public getInterfaces ( ) : array
리턴 array

getMethod() 공개 메소드

Replacement for the original getMethod() method which makes sure that MethodReflection objects are returned instead of the orginal ReflectionMethod instances.
public getMethod ( string $name ) : MethodReflection
$name string
리턴 MethodReflection Method reflection object of the named method

getMethods() 공개 메소드

Replacement for the original getMethods() method which makes sure that MethodReflection objects are returned instead of the original ReflectionMethod instances.
public getMethods ( integer $filter = null ) : MethodReflection
$filter integer A filter mask
리턴 MethodReflection Method reflection objects of the methods in this class

getParentClass() 공개 메소드

Replacement for the original getParentClass() method which makes sure that a ClassReflection object is returned instead of the orginal ReflectionClass instance.
public getParentClass ( ) : ClassReflection
리턴 ClassReflection Reflection of the parent class - if any

getProperties() 공개 메소드

Replacement for the original getProperties() method which makes sure that PropertyReflection objects are returned instead of the orginal ReflectionProperty instances.
public getProperties ( integer $filter = null ) : array
$filter integer A filter mask
리턴 array

getProperty() 공개 메소드

Replacement for the original getProperty() method which makes sure that a PropertyReflection object is returned instead of the orginal ReflectionProperty instance.
public getProperty ( string $name ) : PropertyReflection
$name string Name of the property
리턴 PropertyReflection Property reflection object of the specified property in this class

getTagValues() 공개 메소드

Returns the values of the specified tag
public getTagValues ( string $tag ) : array
$tag string
리턴 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

newInstanceWithoutConstructor() 공개 메소드

Overridden to make sure DI works even when instances are created using newInstanceWithoutConstructor()
또한 보기: https://github.com/doctrine/doctrine2/commit/530c01b5e3ed7345cde564bd511794ac72f49b65

프로퍼티 상세

$docCommentParser 보호되어 있는 프로퍼티

Holds an instance of the doc comment parser for this class
protected $docCommentParser