ReflectionMethod::export
(PHP 5, PHP 7)
ReflectionMethod::export — Export a reflection method
Diese Funktion ist seit PHP 7.4.0 DEPRECATED (veraltet) und seit PHP 8.0.0 ENTFERNT. Von der Verwendung dieser Funktion wird dringend abgeraten.
Beschreibung
$class, string $name, bool $return = false): stringExports a ReflectionMethod.
Parameter-Liste
-
class -
The class name.
-
name -
The name of the method.
-
return -
Wird dies auf
truegesetzt, so wird der Export zurückgegeben anstelle ihn auszugeben. Wird dies auffalsegesetzt (der Standardwert), wird das Gegenteil passieren.
Rückgabewerte
Falls der Parameter
return auf true gesetzt ist,
so wird der Export als ein String
zurückgegeben, andernfalls wird null zurückgegeben.
Siehe auch
- ReflectionMethod::__construct() - Constructs a ReflectionMethod
- ReflectionMethod::__toString() - Returns the string representation of the Reflection method object

