Class NMethodReflection
Reports information about a method.
-
ReflectionFunctionAbstract
implements
Reflector
-
ReflectionMethod
-
NMethodReflection
Methods summary
public static
NMethodReflection
|
#
from( string|object $class, string $method )
Parameters
- $class
string|object
- $method
string
Returns
|
public
array
|
|
public
mixed
|
#
invokeNamedArgs( object $object, array $args )
Invokes method using named parameters.
Invokes method using named parameters.
Parameters
- $object
object
- $args
array
Returns
mixed
|
public
NCallback
|
|
public
|
|
public
NClassReflection
|
|
public
NExtensionReflection
|
|
public
|
|
public
boolean
|
#
hasAnnotation( string $name )
Has method specified annotation?
Has method specified annotation?
Parameters
Returns
boolean
|
public
IAnnotation
|
#
getAnnotation( string $name )
Returns an annotation value.
Returns an annotation value.
Parameters
Returns
|
public
array
|
|
public
NClassReflection
|
|
public
|
|
public
&
|
|
public
|
|
public
|
|
public
|
|
Methods inherited from ReflectionMethod
__construct(),
export(),
getModifiers(),
getPrototype(),
invoke(),
invokeArgs(),
isAbstract(),
isConstructor(),
isDestructor(),
isFinal(),
isPrivate(),
isProtected(),
isPublic(),
isStatic(),
setAccessible()
|
Methods inherited from ReflectionFunctionAbstract
getDocComment(),
getEndLine(),
getExtensionName(),
getFileName(),
getName(),
getNamespaceName(),
getNumberOfParameters(),
getNumberOfRequiredParameters(),
getShortName(),
getStartLine(),
getStaticVariables(),
inNamespace(),
isClosure(),
isDeprecated(),
isInternal(),
isUserDefined(),
returnsReference()
|