ReflectionClass::getRequirements

Gets ReflectionClass-es for the requirements of this class

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

Returns

  • An - associative array of requirements, with keys as requirement names and the array values as ReflectionClass objects.