Overview

Namespaces

  • TokenReflection
    • Broker
      • Backend
    • Dummy
    • Exception
    • Invalid
    • Php
    • Stream

Classes

  • Broker
  • ReflectionAnnotation
  • ReflectionBase
  • ReflectionClass
  • ReflectionConstant
  • ReflectionElement
  • ReflectionFile
  • ReflectionFileNamespace
  • ReflectionFunction
  • ReflectionFunctionBase
  • ReflectionMethod
  • ReflectionNamespace
  • ReflectionParameter
  • ReflectionProperty
  • Resolver

Interfaces

  • IReflection
  • IReflectionClass
  • IReflectionConstant
  • IReflectionExtension
  • IReflectionFunction
  • IReflectionFunctionBase
  • IReflectionMethod
  • IReflectionNamespace
  • IReflectionParameter
  • IReflectionProperty
  • Overview
  • Namespace
  • Class
  • Tree
  • Download

Interface IReflectionProperty

Common reflection property interface.

TokenReflection\IReflectionProperty implements TokenReflection\IReflection

Direct known implementers

TokenReflection\Php\ReflectionProperty, TokenReflection\ReflectionProperty
Namespace: TokenReflection
Located at IReflectionProperty.php
Methods summary
public TokenReflection\IReflectionClass
# getDeclaringClass( )

Returns a reflection of the declaring class.

Returns a reflection of the declaring class.

Returns

TokenReflection\IReflectionClass
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 string|boolean
# getDocComment( )

Returns the appropriate docblock definition.

Returns the appropriate docblock definition.

Returns

string|boolean
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

$object
object
$object

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
# getDeclaringTrait( )

Returns the defining trait.

Returns the defining trait.

Returns

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
Methods inherited from TokenReflection\IReflection
__get(), __isset(), getBroker(), getName(), getPrettyName(), isInternal(), isTokenized(), isUserDefined()
PHP Token Reflection API documentation generated by ApiGen 2.8.0