ReflectionMethod::isConstructor
PHP Manual
PHP Manual»ReflectionMethod»ReflectionMethod::isConstructor

ReflectionMethod::isConstructor

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isConstructorChecks if method is a constructor

Опис

public function ReflectionMethod::isConstructor(): bool

Checks if the method is a constructor.

Параметри

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

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

true if the method is a constructor, otherwise false

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

To Top