Description
As of now RoleHierarchyInterface contains getReachableRoleNames as its only method.
When for example I am querying the DB with the goal to get all users that can reach a certain role, it would be nice to have something like getReachingRoleNames(array $reachableRoles) that basically returns a set of all role-names that I encounter when I walk up the role-hierachy tree starting from all given reachableRoles.
Are there any arguments against something like that?
Example
No response