public function setOptions($options = [])
    {
        if (!is_array($options)) {
            $options = [];
        }

        $this->options = array_merge($this->getDefaults(), $options);
        return $this;
    }
public function setOptions($options = [])
    {
        if (!is_array($options)) {
            $options = [];
        }

        $this->options = array_merge($this->getDefaults(), $options);
        return $this;
    }
public function setOptions ( $ options = [ ] ) { if ( ! is_array ( $ options ) ) { $ options = [ ] ; } $ this -> options = array_merge ( $ this -> getDefaults ( ) , $ options ) ; return $ this ; }
Set additional Options for the Task

@param array $options Options
@return AbstractTask
Set additional Options for the Task