public function setOptions(array $options)
    {
        if (!array_key_exists('options', $options)) {
            $options['options'] = array();
        }

        $this->options = array_merge($this->getDefaultOptions(), $options['options']);
        return $this;
    }
public function setOptions(array $options)
    {
        if (!array_key_exists('options', $options)) {
            $options['options'] = array();
        }

        $this->options = array_merge($this->getDefaultOptions(), $options['options']);
        return $this;
    }
public function setOptions ( array $ options ) { if ( ! array_key_exists ( 'options' , $ options ) ) { $ options [ 'options' ] = array ( ) ; } $ this -> options = array_merge ( $ this -> getDefaultOptions ( ) , $ options [ 'options' ] ) ; return $ this ; }
Set options.

@param array $options
@return CronService
@see CronService::getDefaultOptions() There is a detailed options array description.
Set options .