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 IReflectionFunctionBase

Common reflection function\method interface.

TokenReflection\IReflectionFunctionBase implements TokenReflection\IReflection

Direct known implementers

TokenReflection\IReflectionFunction, TokenReflection\IReflectionMethod, TokenReflection\ReflectionFunctionBase

Indirect known implementers

TokenReflection\Invalid\ReflectionFunction, TokenReflection\Php\ReflectionFunction, TokenReflection\Php\ReflectionMethod, TokenReflection\ReflectionFunction, TokenReflection\ReflectionMethod
Namespace: TokenReflection
Located at IReflectionFunctionBase.php
Methods summary
public string
# getNamespaceName( )

Returns the namespace name.

Returns the namespace name.

Returns

string
public boolean
# inNamespace( )

Returns if the function/method is defined within a namespace.

Returns if the function/method is defined within a namespace.

Returns

boolean
public TokenReflection\IReflectionExtension|null
# getExtension( )

Returns the PHP extension reflection.

Returns the PHP extension reflection.

Returns

TokenReflection\IReflectionExtension|null
public string|null
# getExtensionName( )

Returns the PHP extension name.

Returns the PHP extension name.

Returns

string|null
public string
# getFileName( )

Returns the file name the reflection object is defined in.

Returns the file name the reflection object is defined in.

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 boolean
# isClosure( )

Returns if the function/method is a closure.

Returns if the function/method is a closure.

Returns

boolean
public boolean
# isDeprecated( )

Returns if the function/method is deprecated.

Returns if the function/method is deprecated.

Returns

boolean
public boolean
# returnsReference( )

Returns if the function/method returns its value as reference.

Returns if the function/method returns its value as reference.

Returns

boolean
public TokenReflection\IReflectionParameter
# getParameter( integer|string $parameter )

Returns a function/method parameter.

Returns a function/method parameter.

Parameters

$parameter
integer|string
$parameter Parameter name or position

Returns

TokenReflection\IReflectionParameter
public array
# getParameters( )

Returns function/method parameters.

Returns function/method parameters.

Returns

array
public integer
# getNumberOfParameters( )

Returns the number of parameters.

Returns the number of parameters.

Returns

integer
public integer
# getNumberOfRequiredParameters( )

Returns the number of required parameters.

Returns the number of required parameters.

Returns

integer
public array
# getStaticVariables( )

Returns static variables.

Returns static variables.

Returns

array
Methods inherited from TokenReflection\IReflection
__get(), __isset(), getBroker(), getName(), getPrettyName(), isInternal(), isTokenized(), isUserDefined()
PHP Token Reflection API documentation generated by ApiGen 2.8.0