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 IReflectionExtension

Common reflection extension interface.

TokenReflection\IReflectionExtension implements TokenReflection\IReflection

Direct known implementers

TokenReflection\Php\ReflectionExtension
Namespace: TokenReflection
Located at IReflectionExtension.php
Methods summary
public TokenReflection\IReflectionClass|null
# getClass( string $name )

Returns a class reflection.

Returns a class reflection.

Parameters

$name
string
$name Class name

Returns

TokenReflection\IReflectionClass|null
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

TokenReflection\IReflectionConstant
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

TokenReflection\IReflectionExtension::getConstantReflections()
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

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