public function setSchedule($schedule, $options = [])
    {
        $this->schedule = $schedule;
        $this->setOptions($options);

        return $this;
    }
public function setSchedule($schedule, $options = [])
    {
        $this->schedule = $schedule;
        $this->setOptions($options);

        return $this;
    }
public function setSchedule ( $ schedule , $ options = [ ] ) { $ this -> schedule = $ schedule ; $ this -> setOptions ( $ options ) ; return $ this ; }
Sets the value of schedule.

@param string $schedule the schedule
@param array $options the options

@return self
Sets the value of schedule .