ReflectionClass::getRequirements

Gets ReflectionClass-es for the requirements of this class

Description

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

Return Values

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