ReflectionClass::implementsInterface
(PHP 5, PHP 7, PHP 8)
ReflectionClass::implementsInterface — Implements interface
Parameters
interface
-
The interface name.
Return Values
Returns true on success or false on failure.
Errors/Exceptions
ReflectionClass::implementsInterface() throws an
ReflectionException if interface
is not an interface.