PHP Class Neos\Flow\Reflection\PropertyReflection

Inheritance: extends ReflectionProperty
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$docCommentParser
$isAopIntroduced boolean Whether this property represents an AOP-introduced property

Méthodes publiques

Méthode 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.

Méthodes protégées

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

Method Details

getDeclaringClass() public méthode

Returns the declaring class
public getDeclaringClass ( ) : ClassReflection
Résultat ClassReflection The declaring class

getDescription() public méthode

Returns the description part of the doc comment
public getDescription ( ) : string
Résultat string Doc comment description

getDocCommentParser() protected méthode

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

getTagValues() public méthode

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

getTagsValues() public méthode

Returns an array of tags and their values
public getTagsValues ( ) : array
Résultat array Tags and values

getValue() public méthode

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
Résultat mixed Value of the property

isAopIntroduced() public méthode

public isAopIntroduced ( ) : boolean
Résultat boolean

isTaggedWith() public méthode

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
Résultat boolean TRUE if such a tag has been defined, otherwise FALSE

setIsAopIntroduced() public méthode

public setIsAopIntroduced ( boolean $isAopIntroduced ) : void
$isAopIntroduced boolean
Résultat void

setValue() public méthode

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
Résultat void

Property Details

$docCommentParser protected_oe property

protected $docCommentParser

$isAopIntroduced protected_oe property

Whether this property represents an AOP-introduced property
protected bool $isAopIntroduced
Résultat boolean