phpday 2027 - Call for Papers

ReflectionMethod::isConstructor

(PHP 5, PHP 7, PHP 8)

ReflectionMethod::isConstructor — Checks if method is a constructor

Description

public function ReflectionMethod::isConstructor(): bool

Checks if the method is a constructor.

Parameters

This function has no parameters.

Return Values

true if the method is a constructor, otherwise false

See Also

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top