ReflectionMethod::isDestructor

( excerpt from http://php

public function isDestructor(): bool;

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

Checks if the method is a destructor.

Return Values

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