public function setGlobalParameters($parameters)
    {
        if (!is_array($parameters) && !($parameters instanceof ArrayAccess)) {
            throw new InvalidArgumentException(
                'The $parameters argument must be an array or array accessible object.'
            );
        }

        $this->parameters = $parameters;
    }
public function setGlobalParameters($parameters)
    {
        if (!is_array($parameters) && !($parameters instanceof ArrayAccess)) {
            throw new InvalidArgumentException(
                'The $parameters argument must be an array or array accessible object.'
            );
        }

        $this->parameters = $parameters;
    }
public function setGlobalParameters ( $ parameters ) { if ( ! is_array ( $ parameters ) && ! ( $ parameters instanceof ArrayAccess ) ) { throw new InvalidArgumentException ( 'The $parameters argument must be an array or array accessible object.' ) ; } $ this -> parameters = $ parameters ; }
Sets a list of global parameters.

@param array|ArrayAccess $parameters The parameters.

@throws InvalidArgumentException If $parameters is invalid.
Sets a list of global parameters .