public function options($options = [])
    {
        if (empty($options)) {
            return $this->options;
        }

        $this->options = array_merge($this->options, $options);
    }
public function options($options = [])
    {
        if (empty($options)) {
            return $this->options;
        }

        $this->options = array_merge($this->options, $options);
    }
public function options ( $ options = [ ] ) { if ( empty ( $ options ) ) { return $ this -> options ; } $ this -> options = array_merge ( $ this -> options , $ options ) ; }
Add or get options.

@param array $options

@return array|null
Add or get options .