Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • None
  • PHP

Classes

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

Interfaces

  • IAnnotation
  • Overview
  • Package
  • Class
  • Tree

Class MethodReflection

Reports information about a method.

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

Parameters

$class
string|object
$method
string

Returns

MethodReflection
public Callback
# toCallback( )

Returns

Callback
public
# __toString( )

Overrides

ReflectionMethod::__toString
public ClassReflection
# getDeclaringClass( )

Returns

ClassReflection

Overrides

ReflectionMethod::getDeclaringClass
public MethodReflection
# getPrototype( )

Returns

MethodReflection

Overrides

ReflectionMethod::getPrototype
public ExtensionReflection
# getExtension( )

Returns

ExtensionReflection

Overrides

ReflectionFunctionAbstract::getExtension
public
# getParameters( )

Overrides

ReflectionFunctionAbstract::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 string
# getDescription( )

Returns value of annotation 'description'.

Returns value of annotation 'description'.

Returns

string
public ClassReflection
# getReflection( )

Returns

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(), 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 2.0.1 (for PHP 5.2, un-prefixed) API API documentation generated by ApiGen 2.7.0