ReflectionClass::implementsInterface

( excerpt from http://php

public function implementsInterface(
  string $interface,
): bool;

net/manual/en/reflectionclass.implementsinterface.php )

Checks whether it implements an interface.

Parameters

  • string $interface

Return Values

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