ReflectionMethod::isConstructor

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isConstructorChecks if method is a constructor

Опис

public ReflectionMethod::isConstructor(): bool

Checks if the method is a constructor.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

true if the method is a constructor, otherwise false

Прогляньте також