protected function addGlobalOptions($options)
    {
        if (!empty($options)) {
            foreach ($options as $name => $value) {
                $this->globalOptions[$name] = $value;
            }
        }
    }
protected function addGlobalOptions($options)
    {
        if (!empty($options)) {
            foreach ($options as $name => $value) {
                $this->globalOptions[$name] = $value;
            }
        }
    }
protected function addGlobalOptions ( $ options ) { if ( ! empty ( $ options ) ) { foreach ( $ options as $ name => $ value ) { $ this -> globalOptions [ $ name ] = $ value ; } } }
Set global option

@param array|Map $options a global option
Set global option