ReflectionClass::getInterfaces

( excerpt from http://php

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

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

Gets the interfaces.

Return Values

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