ReflectionClass::isFinal

( excerpt from http://php.net/manual/en/reflectionclass.isfinal.php )

public function isFinal(): bool;

Checks if a class is final.

Returns

  • bool - Returns TRUE on success or FALSE on failure.