Reflection of a not tokenized but defined extension.
Descendant of the internal reflection with additional features.
Methods summary
public
|
|
public
boolean
|
#
isInternal( )
Returns if the constant is internal.
Returns if the constant is internal.
Returns
boolean
Implementation of
|
public
boolean
|
#
isUserDefined( )
Returns if the constant is user defined.
Returns if the constant is user defined.
Returns
boolean
Implementation of
|
public
boolean
|
#
isTokenized( )
Returns if the current reflection comes from a tokenized source.
Returns if the current reflection comes from a tokenized source.
Returns
boolean
Implementation of
|
public
boolean
|
#
isDeprecated( )
Returns if the reflection subject is deprecated.
Returns if the reflection subject is deprecated.
Returns
boolean
|
public
TokenReflection\IReflectionClass |null
|
#
getClass( string $name )
Returns a class reflection.
Returns a class reflection.
Parameters
- $name
string $name Class name
Returns
Implementation of
|
public
array
|
#
getClasses( )
Returns classes defined by this extension.
Returns classes defined by this extension.
Returns
array
Overrides
ReflectionExtension::getClasses()
Implementation of
|
public
mixed|false
|
#
getConstant( string $name )
Returns a constant value.
Returns a constant value.
Parameters
- $name
string $name Constant name
Returns
mixed|false
Implementation of
|
public
TokenReflection\IReflectionConstant
|
#
getConstantReflection( string $name )
Returns a constant reflection.
Returns a constant reflection.
Parameters
- $name
string $name Constant name
Returns
Implementation of
|
public
array
|
#
getConstantReflections( )
Returns reflections of defined constants.
Returns reflections of defined constants.
Returns
array
Implementation of
|
public
TokenReflection\IReflectionFunction
|
#
getFunction( string $name )
Returns a function reflection.
Returns a function reflection.
Parameters
- $name
string $name Function name
Returns
Implementation of
|
public
array
|
#
getFunctions( )
Returns functions defined by this extension.
Returns functions defined by this extension.
Returns
array
Overrides
ReflectionExtension::getFunctions()
Implementation of
|
public
array
|
#
getFunctionNames( )
Returns names of functions defined by this extension.
Returns names of functions defined by this extension.
Returns
array
Implementation of
|
public
string
|
#
getPrettyName( )
Returns an element pretty (docblock compatible) name.
Returns an element pretty (docblock compatible) name.
Returns
string
Implementation of
|
public
TokenReflection\Broker
|
#
getBroker( )
Returns the reflection broker used by this reflection object.
Returns the reflection broker used by this reflection object.
Returns
Implementation of
|
final public
mixed
|
#
__get( string $key )
Magic __get method.
Parameters
- $key
string $key Variable name
Returns
mixed
Implementation of
|
final public
boolean
|
#
__isset( string $key )
Magic __isset method.
Parameters
- $key
string $key Variable name
Returns
boolean
Implementation of
|
public static
TokenReflection\Php\ReflectionExtension
|
#
create( Reflector $internalReflection, TokenReflection\Broker $broker )
Creates a reflection instance.
Creates a reflection instance.
Parameters
- $internalReflection
ReflectionClass $internalReflection Internal reflection instance
- $broker
TokenReflection\Broker
$broker Reflection broker instance
Returns
Throws
Implementation of
|