Interface IReflectionExtension
Common reflection extension interface.
-
TokenReflection\IReflectionExtension
implements
TokenReflection\IReflection
Methods summary
public
TokenReflection\IReflectionClass |null
|
#
getClass( string $name )
Returns a class reflection.
Returns a class reflection.
Parameters
- $name
string $name Class name
Returns
|
public
array
|
#
getClasses( )
Returns reflections of classes defined by this extension.
Returns reflections of classes defined by this extension.
Returns
array
|
public
array
|
#
getClassNames( )
Returns class names defined by this extension.
Returns class names defined by this extension.
Returns
array
|
public
TokenReflection\IReflectionConstant
|
#
getConstantReflection( string $name )
Returns a constant reflection.
Returns a constant reflection.
Parameters
- $name
string $name Constant name
Returns
|
public
array
|
#
getConstantReflections( )
Returns reflections of constants defined by this extension.
Returns reflections of constants defined by this extension.
This method has this name just for consistence with the rest of
reflection.
Returns
array
See
|
public
mixed|false
|
#
getConstant( string $name )
Returns a constant value.
Returns a constant value.
Parameters
- $name
string $name Constant name
Returns
mixed|false
|
public
array
|
#
getConstants( )
Returns values of constants defined by this extension.
Returns values of constants defined by this extension.
This method exists just for consistence with the rest of reflection.
Returns
array
|
public
TokenReflection\IReflectionFunction
|
#
getFunction( string $name )
Returns a function reflection.
Returns a function reflection.
Parameters
- $name
string $name Function name
Returns
|
public
array
|
#
getFunctions( )
Returns reflections of functions defined by this extension.
Returns reflections of functions defined by this extension.
Returns
array
|
public
array
|
#
getFunctionNames( )
Returns function names defined by this extension.
Returns function names defined by this extension.
Returns
array
|
public
string
|
#
__toString( )
Returns the string representation of the reflection object.
Returns the string representation of the reflection object.
Returns
string
|