ReflectionMethod
PHP Manual

ReflectionMethod::isConstructor

(PHP 5, PHP 7)

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