ReflectionClass::getInterfaces

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

public function getInterfaces(): darray<string, ReflectionClass>;

Gets the interfaces.

Returns

  • mixed - An associative array of interfaces, with keys as interface names and the array values as ReflectionClass objects.