PropertyReflection
class PropertyReflection extends ReflectionProperty (View source)
Extended version of the ReflectionProperty
Properties
protected DocCommentParser | $docCommentParser | ||
protected bool | $isAopIntroduced | Whether this property represents an AOP-introduced property |
Methods
Checks if the doc comment of this property is tagged with the specified tag
Returns the declaring class
Returns an array of tags and their values
Returns the values of the specified tag
Returns the description part of the doc comment
Returns the value of the reflected property - even if it is protected.
Returns the value of the reflected property - even if it is protected.
Returns an instance of the doc comment parser and runs the parse() method.
No description
No description
Details
bool
isTaggedWith(string $tag)
Checks if the doc comment of this property is tagged with the specified tag
ClassReflection
getDeclaringClass()
Returns the declaring class
array
getTagsValues()
Returns an array of tags and their values
array
getTagValues(string $tag)
Returns the values of the specified tag
string
getDescription()
Returns the description part of the doc comment
mixed
getValue(object $object = null)
Returns the value of the reflected property - even if it is protected.
void
setValue(object $object = null, mixed $value = null)
Returns the value of the reflected property - even if it is protected.
protected DocCommentParser
getDocCommentParser()
Returns an instance of the doc comment parser and runs the parse() method.
void
setIsAopIntroduced(bool $isAopIntroduced)
No description
bool
isAopIntroduced()
No description