public function setSlots($first, $last, $connection)
    {
        if (!static::isValidRange($first, $last)) {
            throw new \OutOfBoundsException("Invalid slot range $first-$last for `$connection`");
        }

        $this->slots += array_fill($first, $last - $first + 1, (string) $connection);
    }