original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Sets a list of global parameters.
  
  @param array|ArrayAccess $parameters The parameters.
  
  @throws InvalidArgumentException If $parameters is invalid.
docstring_tokens: Sets a list of global parameters .