ReflectionData
class ReflectionData implements Reflector (View source)
Methods
No description
No description
Get read-only properties
No description
Transfer call to inner ReflectionProperty object if any.
No description
No description
No description
No description
No description
No description
No description
No description
Get documentation of inner ReflectionProperty or fallback to the documentation of the read method.
No description
Get property type or return type of the read method.
Indicates if property has a type
Details
at line 16
__construct($class, $name, ReflectionProperty $reflectionProperty = null, ReflectionMethod $readMethod = null, ReflectionMethod $writeMethod = null)
at line 37
static
export($class, $name, $return)
at line 50
mixed
__get(string $property)
Get read-only properties
at line 61
__toString()
at line 76
mixed
__call(string $name, array $args = [])
Transfer call to inner ReflectionProperty object if any.
at line 94
setReadMethod(ReflectionMethod $method = null)
at line 103
setWriteMethod(ReflectionMethod $method = null)
at line 116
getValue($object = null)
at line 130
setValue($object, $value = null)
at line 145
boolean
isPublic()
at line 156
isProtected()
at line 171
boolean
isPrivate()
at line 186
boolean
isStatic()
at line 201
boolean
isDefault()
at line 214
boolean
isInitialized(object $object = null)
at line 227
string
getDocComment()
Get documentation of inner ReflectionProperty or fallback to the documentation of the read method.
at line 236
setAccessible($accessible)
at line 247
ReflectionType|NULL
getType()
Get property type or return type of the read method.
at line 261
boolean
hasType()
Indicates if property has a type