Namespaces

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

Classes

  • Annotation
  • AnnotationsParser
  • ClassReflection
  • ExtensionReflection
  • FunctionReflection
  • MethodReflection
  • ParameterReflection
  • PropertyReflection

Interfaces

  • IAnnotation
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class MethodReflection

Reports information about a method.

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

Parameters

$class
string|object
$method
string

Returns

Nette\Reflection\MethodReflection
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 Nette\Callback
# getCallback( )

Returns

Nette\Callback
public
# __toString( )
public Nette\Reflection\ClassReflection
# getDeclaringClass( )

Returns

Nette\Reflection\ClassReflection
public Nette\Reflection\ExtensionReflection
# getExtension( )

Returns

Nette\Reflection\ExtensionReflection
public
# getParameters( )
public boolean
# hasAnnotation( string $name )

Has method specified annotation?

Has method specified annotation?

Parameters

$name
string

Returns

boolean
public Nette\Reflection\IAnnotation
# getAnnotation( string $name )

Returns an annotation value.

Returns an annotation value.

Parameters

$name
string

Returns

Nette\Reflection\IAnnotation
public array
# getAnnotations( )

Returns all annotations.

Returns all annotations.

Returns

array
public static Nette\Reflection\ClassReflection
# getReflection( )

Returns

Nette\Reflection\ClassReflection
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 API documentation generated by ApiGen 2.3.0