(PHP 5, PHP 7, PHP 8)
ReflectionClass::implementsInterface — Implements interface
Checks whether it implements an interface.
interface
The interface name.
ReflectionClass::implementsInterface() throws an
ReflectionException if interface
is not an interface.