Packages

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • NAnnotation
  • NAnnotationsParser
  • NClassReflection
  • NExtensionReflection
  • NFunctionReflection
  • NMethodReflection
  • NParameterReflection
  • NPropertyReflection

Interfaces

  • IAnnotation
  • Overview
  • Package
  • Class
  • Tree
  • Other releases

Class NMethodReflection

Reports information about a method.

ReflectionFunctionAbstract implements Reflector
Extended by ReflectionMethod
Extended by NMethodReflection
Package: Nette\Reflection
Author: David Grudl
Located at Reflection/MethodReflection.php
Methods summary
public static NMethodReflection
# from( string|object $class, string $method )

Parameters

$class
string|object
$method
string

Returns

NMethodReflection
public array
# getDefaultParameters( )

Returns

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
# getCallback( )

Returns

NCallback
public
# __toString( )
public NClassReflection
# getDeclaringClass( )

Returns

NClassReflection
public NExtensionReflection
# getExtension( )

Returns

NExtensionReflection
public
# getParameters( )
public boolean
# hasAnnotation( string $name )

Has method specified annotation?

Has method specified annotation?

Parameters

$name
string

Returns

boolean
public IAnnotation
# getAnnotation( string $name )

Returns an annotation value.

Returns an annotation value.

Parameters

$name
string

Returns

IAnnotation
public array
# getAnnotations( )

Returns all annotations.

Returns all annotations.

Returns

array
public NClassReflection
# getReflection( )

Returns

NClassReflection
public
# __call( $name, $args )
public &
# __get( $name )
public
# __set( $name, $value )
public
# __isset( $name )
public
# __unset( $name )
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()
Constants inherited from ReflectionMethod
IS_ABSTRACT, IS_FINAL, IS_PRIVATE, IS_PROTECTED, IS_PUBLIC, IS_STATIC
Properties inherited from ReflectionMethod
$class, $name
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0