src/ImageStack/OptionnableTrait.php
public function setOptions(array $options, $merge = true)
    {
        if ($merge) {
            $this->options = array_replace($this->options, $options);
        } else {
            $this->options = $options;
        }
    }
public function setOptions(array $options, $merge = true)
    {
        if ($merge) {
            $this->options = array_replace($this->options, $options);
        } else {
            $this->options = $options;
        }
    }
public function setOptions ( array $ options , $ merge = true ) { if ( $ merge ) { $ this -> options = array_replace ( $ this -> options , $ options ) ; } else { $ this -> options = $ options ; } }
Set all options.
@param array $options
Set all options .