ReflectionClass::getRequirementNames

Description

public function getRequirementNames(): array<string>

Gets the list of implemented interfaces/inherited classes needed to implement an interface / use a trait. Empty array for abstract and concrete classes.