Class NMethodReflection
Reports information about a method.
- ReflectionFunctionAbstract implements Reflector
-
ReflectionMethod
-
NMethodReflection
public static
NMethodReflection
|
#
from(
string|object
$class,
string
$method
)
Parameters$class string|object$method string |
public
array
|
#
getDefaultParameters(
)
|
public
mixed
|
#
invokeNamedArgs(
object
$object,
array
$args
)
Invokes method using named parameters. Invokes method using named parameters. Parameters$object object$args array |
public
NCallback
|
#
getCallback(
)
|
public
|
#
__toString(
)
|
public
NClassReflection
|
#
getDeclaringClass(
)
|
public
NMethodReflection
|
#
getPrototype(
)
|
public
NExtensionReflection
|
#
getExtension(
)
|
public
|
#
getParameters(
)
|
public
bool
|
#
hasAnnotation(
string
$name
)
Has method specified annotation? Has method specified annotation? Parameters$name string |
public
IAnnotation
|
#
getAnnotation(
string
$name
)
Returns an annotation value. Returns an annotation value. Parameters$name string |
public
array
|
#
getAnnotations(
)
Returns all annotations. Returns all annotations. |
public
NClassReflection
|
#
getReflection(
)
|
public
|
#
__call(
$name,
$args
)
|
public
&
|
#
__get(
$name
)
|
public
|
#
__set(
$name,
$value
)
|
public
|
#
__isset(
$name
)
|
public
|
#
__unset(
$name
)
|
Methods Inherited From ReflectionMethod
export(), __construct(), __toString(), isPublic(), isPrivate(), isProtected(), isAbstract(), isFinal(), isStatic(), isConstructor(), isDestructor(), getModifiers(), invoke(), invokeArgs(), getDeclaringClass(), getPrototype(), setAccessible()
Methods Inherited From ReflectionFunctionAbstract
__toString(), inNamespace(), isClosure(), isDeprecated(), isInternal(), isUserDefined(), getDocComment(), getEndLine(), getExtension(), getExtensionName(), getFileName(), getName(), getNamespaceName(), getNumberOfParameters(), getNumberOfRequiredParameters(), getParameters(), getShortName(), getStartLine(), getStaticVariables(), returnsReference()
Constants Inherited From ReflectionMethod
IS_STATIC, IS_PUBLIC, IS_PROTECTED, IS_PRIVATE, IS_ABSTRACT, IS_FINAL
Properties Inherited From ReflectionMethod
$name, $class
Properties Inherited From ReflectionFunctionAbstract
$name