Methods summary
public
TokenReflection\IReflectionClass
|
#
getDeclaringClass( )
Returns a reflection of the declaring class.
Returns a reflection of the declaring class.
Returns
|
public
string
|
#
getDeclaringClassName( )
Returns the name of the declaring class.
Returns the name of the declaring class.
Returns
string
|
public
integer
|
#
getStartLine( )
Returns the definition start line number in the file.
Returns the definition start line number in the file.
Returns
integer
|
public
integer
|
#
getEndLine( )
Returns the definition end line number in the file.
Returns the definition end line number in the file.
Returns
integer
|
public
mixed
|
#
getDefaultValue( )
Returns the property default value.
Returns the property default value.
Returns
mixed
|
public
string
|
#
getDefaultValueDefinition( )
Returns the part of the source code defining the property default value.
Returns the part of the source code defining the property default value.
Returns
string
|
public
mixed
|
#
getValue( object $object )
Returns the property value for a particular class instance.
Returns the property value for a particular class instance.
Parameters
Returns
mixed
|
public
integer
|
#
getModifiers( )
Returns property modifiers.
Returns property modifiers.
Returns
integer
|
public
boolean
|
#
isPrivate( )
Returns if the property is private.
Returns if the property is private.
Returns
boolean
|
public
boolean
|
#
isProtected( )
Returns if the property is protected.
Returns if the property is protected.
Returns
boolean
|
public
boolean
|
#
isPublic( )
Returns if the property is public.
Returns if the property is public.
Returns
boolean
|
public
boolean
|
#
isStatic( )
Returns if the property is static.
Returns if the property is static.
Returns
boolean
|
public
boolean
|
#
isDefault( )
Returns if the property was defined at compile time.
Returns if the property was defined at compile time.
Returns
boolean
|
public
|
#
setAccessible( boolean $accessible )
Sets a property to be accessible or not.
Sets a property to be accessible or not.
Parameters
- $accessible
boolean $accessible If the property should be accessible.
|
public
boolean
|
#
isAccessible( )
Returns if the property is set accessible.
Returns if the property is set accessible.
Returns
boolean
|
public
|
#
setValue( object $object, mixed $value )
Sets value of a property for a particular class instance.
Sets value of a property for a particular class instance.
Parameters
- $object
object $object Class instance
- $value
mixed $value Poperty value
|
public
string
|
#
__toString( )
Returns the string representation of the reflection object.
Returns the string representation of the reflection object.
Returns
string
|
public
TokenReflection\IReflectionClass |null
|
|
public
string|null
|
#
getDeclaringTraitName( )
Returns the declaring trait name.
Returns the declaring trait name.
Returns
string|null
|
public
boolean
|
#
isDeprecated( )
Returns if the property is deprecated.
Returns if the property is deprecated.
Returns
boolean
|