public function setScheduleAhead($time)
    {
        if (!is_numeric($time)) {
            throw new \InvalidArgumentException('`scheduleAhead` expects integer value!');
        }

        $this->options['scheduleAhead'] = (int) $time;
        return $this;
    }