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 IReflectionNamespace

Common reflection namespace interface.

TokenReflection\IReflectionNamespace implements TokenReflection\IReflection

Direct known implementers

TokenReflection\ReflectionNamespace
Namespace: TokenReflection
Located at IReflectionNamespace.php
Methods summary
public boolean
# hasClass( string $className )

Returns if the namespace contains a class of the given name.

Returns if the namespace contains a class of the given name.

Parameters

$className
string
$className Class name

Returns

boolean
public TokenReflection\IReflectionClass
# getClass( string $className )

Return a class reflection.

Return a class reflection.

Parameters

$className
string
$className Class name

Returns

TokenReflection\IReflectionClass
public array
# getClasses( )

Returns class reflections.

Returns class reflections.

Returns

array
public array
# getClassNames( )

Returns class names (FQN).

Returns class names (FQN).

Returns

array
public array
# getClassShortNames( )

Returns class unqualified names (UQN).

Returns class unqualified names (UQN).

Returns

array
public boolean
# hasConstant( string $constantName )

Returns if the namespace contains a constant of the given name.

Returns if the namespace contains a constant of the given name.

Parameters

$constantName
string
$constantName Constant name

Returns

boolean
public TokenReflection\IReflectionConstant
# getConstant( string $constantName )

Returns a constant reflection.

Returns a constant reflection.

Parameters

$constantName
string
$constantName Constant name

Returns

TokenReflection\IReflectionConstant
public array
# getConstants( )

Returns constant reflections.

Returns constant reflections.

Returns

array
public array
# getConstantNames( )

Returns constant names (FQN).

Returns constant names (FQN).

Returns

array
public array
# getConstantShortNames( )

Returns constant unqualified names (UQN).

Returns constant unqualified names (UQN).

Returns

array
public boolean
# hasFunction( string $functionName )

Returns if the namespace contains a function of the given name.

Returns if the namespace contains a function of the given name.

Parameters

$functionName
string
$functionName Function name

Returns

boolean
public TokenReflection\IReflectionFunction
# getFunction( string $functionName )

Returns a function reflection.

Returns a function reflection.

Parameters

$functionName
string
$functionName Function name

Returns

TokenReflection\IReflectionFunction
public array
# getFunctions( )

Returns function reflections.

Returns function reflections.

Returns

array
public array
# getFunctionNames( )

Returns function names (FQN).

Returns function names (FQN).

Returns

array
public array
# getFunctionShortNames( )

Returns function unqualified names (UQN).

Returns function unqualified names (UQN).

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