ReflectionMethod
PHP Manual

ReflectionMethod::isDestructor

(PHP 5, PHP 7)

ReflectionMethod::isDestructorChecks if method is a destructor

Description

public bool ReflectionMethod::isDestructor ( void )

Checks if the method is a destructor.

Parameters

This function has no parameters.

Return Values

TRUE if the method is a destructor, otherwise FALSE

See Also


ReflectionMethod
PHP Manual