ReflectionMethod
PHP Manual

ReflectionMethod::isConstructor

(PHP 5)

ReflectionMethod::isConstructorChecks if method is a constructor

Description

public bool ReflectionMethod::isConstructor ( void )

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


ReflectionMethod
PHP Manual