Reflection
PHP Manual

The ReflectionFunction class

(PHP 5, PHP 7)

Einführung

The ReflectionFunction class reports information about a function.

Klassenbeschreibung

ReflectionFunction extends ReflectionFunctionAbstract implements Reflector {
/* Konstanten */
const integer IS_DEPRECATED = 262144 ;
/* Eigenschaften */
public $name ;
/* Methoden */
public __construct ( mixed $name )
public static string export ( string $name [, string $return ] )
public Closure getClosure ( void )
public mixed invoke ([ mixed $parameter [, mixed $... ]] )
public mixed invokeArgs ( array $args )
public bool isDisabled ( void )
public string __toString ( void )
/* Geerbte Methoden */
final private void ReflectionFunctionAbstract::__clone ( void )
public ReflectionClass ReflectionFunctionAbstract::getClosureScopeClass ( void )
public ReflectionExtension ReflectionFunctionAbstract::getExtension ( void )
public string ReflectionFunctionAbstract::getName ( void )
public ReflectionType ReflectionFunctionAbstract::getReturnType ( void )
abstract public void ReflectionFunctionAbstract::__toString ( void )
}

Eigenschaften

name

Name of the function. Read-only, throws ReflectionException in attempt to write.

Vordefinierte Konstanten

ReflectionFunction Modifiers

ReflectionFunction::IS_DEPRECATED

Indicates deprecated functions.

Inhaltsverzeichnis


Reflection
PHP Manual