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

loadRoleAssignmentsByGroupId() public method

Loads role assignments for specified content ID.
public loadRoleAssignmentsByGroupId ( mixed $groupId, boolean $inherited = false ) : array
$groupId mixed
$inherited boolean
return array
    public function loadRoleAssignmentsByGroupId($groupId, $inherited = false)
    {
        try {
            return $this->innerGateway->loadRoleAssignmentsByGroupId($groupId, $inherited);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }