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 IReflectionFunction

Common reflection function interface.

TokenReflection\IReflectionFunction implements TokenReflection\IReflectionFunctionBase

Direct known implementers

TokenReflection\Invalid\ReflectionFunction, TokenReflection\Php\ReflectionFunction, TokenReflection\ReflectionFunction
Namespace: TokenReflection
Located at IReflectionFunction.php
Methods summary
public boolean
# isDisabled( )

Returns if the method is is disabled via the disable_functions directive.

Returns if the method is is disabled via the disable_functions directive.

Returns

boolean
public mixed
# invokeArgs( array $args )

Calls the function.

Calls the function.

Parameters

$args
array
$args Function parameter values

Returns

mixed
public Closure
# getClosure( )

Returns the function/method as closure.

Returns the function/method as closure.

Returns

Closure
public boolean
# isValid( )

Returns if the function definition is valid.

Returns if the function definition is valid.

That means that the source code is valid and the function name is unique within parsed files.

Returns

boolean
public array
# getNamespaceAliases( )

Returns imported namespaces and aliases from the declaring namespace.

Returns imported namespaces and aliases from the declaring namespace.

Returns

array
Methods inherited from TokenReflection\IReflectionFunctionBase
getDocComment(), getEndLine(), getExtension(), getExtensionName(), getFileName(), getNamespaceName(), getNumberOfParameters(), getNumberOfRequiredParameters(), getParameter(), getParameters(), getStartLine(), getStaticVariables(), inNamespace(), isClosure(), isDeprecated(), returnsReference()
Methods inherited from TokenReflection\IReflection
__get(), __isset(), getBroker(), getName(), getPrettyName(), isInternal(), isTokenized(), isUserDefined()
PHP Token Reflection API documentation generated by ApiGen 2.8.0