PHP Class Neos\Flow\Reflection\PropertyReflection

Inheritance: extends ReflectionProperty
Datei anzeigen Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$docCommentParser
$isAopIntroduced boolean Whether this property represents an AOP-introduced property

Public Methods

Method Description
getDeclaringClass ( ) : ClassReflection Returns the declaring class
getDescription ( ) : string Returns the description part of the doc comment
getTagValues ( string $tag ) : array Returns the values of the specified tag
getTagsValues ( ) : array Returns an array of tags and their values
getValue ( object $object = null ) : mixed Returns the value of the reflected property - even if it is protected.
isAopIntroduced ( ) : boolean
isTaggedWith ( string $tag ) : boolean Checks if the doc comment of this property is tagged with the specified tag
setIsAopIntroduced ( boolean $isAopIntroduced ) : void
setValue ( object $object = null, mixed $value = null ) : void Returns the value of the reflected property - even if it is protected.

Protected Methods

Method Description
getDocCommentParser ( ) : DocCommentParser Returns an instance of the doc comment parser and runs the parse() method.

Method Details

getDeclaringClass() public method

Returns the declaring class
public getDeclaringClass ( ) : ClassReflection
return ClassReflection The declaring class

getDescription() public method

Returns the description part of the doc comment
public getDescription ( ) : string
return string Doc comment description

getDocCommentParser() protected method

Returns an instance of the doc comment parser and runs the parse() method.
protected getDocCommentParser ( ) : DocCommentParser
return DocCommentParser

getTagValues() public method

Returns the values of the specified tag
public getTagValues ( string $tag ) : array
$tag string
return array Values of the given tag

getTagsValues() public method

Returns an array of tags and their values
public getTagsValues ( ) : array
return array Tags and values

getValue() public method

Returns the value of the reflected property - even if it is protected.
public getValue ( object $object = null ) : mixed
$object object Instance of the declaring class to read the value from
return mixed Value of the property

isAopIntroduced() public method

public isAopIntroduced ( ) : boolean
return boolean

isTaggedWith() public method

Checks if the doc comment of this property is tagged with the specified tag
public isTaggedWith ( string $tag ) : boolean
$tag string Tag name to check for
return boolean TRUE if such a tag has been defined, otherwise FALSE

setIsAopIntroduced() public method

public setIsAopIntroduced ( boolean $isAopIntroduced ) : void
$isAopIntroduced boolean
return void

setValue() public method

Returns the value of the reflected property - even if it is protected.
public setValue ( object $object = null, mixed $value = null ) : void
$object object Instance of the declaring class to set the value on
$value mixed The value to set on the property
return void

Property Details

$docCommentParser protected_oe property

protected $docCommentParser

$isAopIntroduced protected_oe property

Whether this property represents an AOP-introduced property
protected bool $isAopIntroduced
return boolean