ReflectionClass::isInstantiable

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

Description

public function isInstantiable(): bool

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

Checks if the class is instantiable.

Return Values

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