ProxiedPropertyReflection
class ProxiedPropertyReflection implements PropertyReflection
Describe a read-only property that a proxy reads from its target, typed as what the proxy returns, with the target property's deprecation.
Methods
Create a proxied property reflection.
Return the proxy class.
Determine whether the property is static.
Determine whether the property is private.
Determine whether the property is public.
Return the property docblock.
Get the type read from the property.
Get the type written to the property.
Determine whether an assignment can change the property's type.
Determine whether the property is readable.
Determine whether the property is writable.
Determine whether the target property is deprecated.
Get the target property's deprecation description.
Determine whether the target property is internal.
Details
at line 28
__construct(ClassReflection $declaringClass, Type $type, PropertyReflection|null $targetProperty)
Create a proxied property reflection.
at line 39
ClassReflection
getDeclaringClass()
Return the proxy class.
at line 47
bool
isStatic()
Determine whether the property is static.
at line 55
bool
isPrivate()
Determine whether the property is private.
at line 63
bool
isPublic()
Determine whether the property is public.
at line 71
string|null
getDocComment()
Return the property docblock.
at line 79
Type
getReadableType()
Get the type read from the property.
at line 87
Type
getWritableType()
Get the type written to the property.
at line 95
bool
canChangeTypeAfterAssignment()
Determine whether an assignment can change the property's type.
at line 103
bool
isReadable()
Determine whether the property is readable.
at line 111
bool
isWritable()
Determine whether the property is writable.
at line 119
TrinaryLogic
isDeprecated()
Determine whether the target property is deprecated.
at line 127
string|null
getDeprecatedDescription()
Get the target property's deprecation description.
at line 135
TrinaryLogic
isInternal()
Determine whether the target property is internal.