* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Core\Role; /** * RoleHierarchyInterface is the interface for a role hierarchy. * * @author Fabien Potencier */ interface RoleHierarchyInterface { /** * @param string[] $roles * * @return string[] */ public function getReachableRoleNames(array $roles): array; }