eZ\Publish\Core\Persistence\Legacy\User\Role\Gateway\ExceptionConversion::loadRoleAssignmentsByRoleId PHP Method

loadRoleAssignmentsByRoleId() public method

Loads role assignments for given role ID.
public loadRoleAssignmentsByRoleId ( mixed $roleId ) : array
$roleId mixed
return array
    public function loadRoleAssignmentsByRoleId($roleId)
    {
        try {
            return $this->innerGateway->loadRoleAssignmentsByRoleId($roleId);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }