ReflectionMethod
PHP Manual

ReflectionMethod::isConstructor

(PHP 5)

ReflectionMethod::isConstructorChecks if method is a constructor

说明

public bool ReflectionMethod::isConstructor ( void )

Checks if the method is a constructor.

参数

此函数没有参数。

返回值

TRUE if the method is a constructor, otherwise FALSE

参见


ReflectionMethod
PHP Manual