ReflectionMethod::isConstructor

( excerpt from http://php

public function isConstructor(): bool;

net/manual/en/reflectionmethod.isconstructor.php )

Checks if the method is a constructor.

Return Values

  • bool - TRUE if the method is a constructor, otherwise FALSE