ReflectionClass::getRequirementNames

Gets the list of implemented interfaces/inherited classes needed to implement an interface / use a trait

public function getRequirementNames(): varray<string>;

Empty array for abstract and concrete classes.

Returns