ReflectionMethod::isConstructor

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isConstructorChecks if method is a constructor

Beschreibung

publicReflectionMethod::isConstructor(): bool

Checks if the method is a constructor.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

true if the method is a constructor, otherwise false

Siehe auch

To Top