ReflectionMethod::isConstructor
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8)
Checks if method is a constructor
Description
ReflectionMethod::isConstructor(): bool
Checks if the method is a constructor.
Parameters Parameters
Return Values
true if the method is a constructor, otherwise false
See Also
ReflectionMethod::__constructReflectionMethod::isAbstractReflectionMethod::isDestructor