ReflectionClass::getRequirementNames

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

Description

public function getRequirementNames(): array<string>;

Empty array for abstract and concrete classes.