Namespaces

  • 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
  • ClassType
  • Extension
  • GlobalFunction
  • Method
  • Parameter
  • Property

Interfaces

  • IAnnotation
  • Overview
  • Namespace
  • Class
  • Tree

Class Method

Reports information about a method.

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

Parameters

$class
string|object
$method
string

Returns

Nette\Reflection\Method
public Nette\Callback
# toCallback( )

Returns

Nette\Callback
public
# __toString( )

Overrides

ReflectionMethod::__toString
public Nette\Reflection\ClassType
# getDeclaringClass( )

Returns

Nette\Reflection\ClassType

Overrides

ReflectionMethod::getDeclaringClass
public Nette\Reflection\Method
# getPrototype( )

Returns

Nette\Reflection\Method

Overrides

ReflectionMethod::getPrototype
public Nette\Reflection\Extension
# getExtension( )

Returns

Nette\Reflection\Extension

Overrides

ReflectionFunctionAbstract::getExtension
public Nette\Reflection\Parameter[]
# getParameters( )

Returns

Nette\Reflection\Parameter[]

Overrides

ReflectionFunctionAbstract::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 IAnnotation[][]
# getAnnotations( )

Returns all annotations.

Returns all annotations.

Returns

IAnnotation[][]
public string
# getDescription( )

Returns value of annotation 'description'.

Returns value of annotation 'description'.

Returns

string
public static Nette\Reflection\ClassType
# getReflection( )

Returns

Nette\Reflection\ClassType
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.4 API API documentation generated by ApiGen 2.7.0