Interface IReflectionFunction
Common reflection function interface.
-
TokenReflection\IReflectionFunction
implements
TokenReflection\IReflectionFunctionBase
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.
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()
|