original_string: public function setParams(array $params, array $types = []): self
      {
          $this->types = $types;
          $this->params = $params;
  
          return $this;
      }
code: public function setParams(array $params, array $types = []): self
      {
          $this->types = $types;
          $this->params = $params;
  
          return $this;
      }
code_tokens: public function setParams ( array $ params , array $ types = [ ] ) : self { $ this -> types = $ types ; $ this -> params = $ params ; return $ this ; }
docstring: Sets a collection of query parameters for the query being constructed
  
  Example
  <code>
  $sb = new SelectBuilder();
  $sb
  ->select('u')
  ->from('users', 'u')
  ->where('u.id = :user_id1 OR u.id = :user_id2')
  ->setParameters([
  ':user_id1' => 1,
  ':user_id2' => 2
  ]);
  </code>
  
  @param  array $params The query parameters to set
  @param  array $types  The query parameters types to set
  
  @return self
docstring_tokens: Sets a collection of query parameters for the query being constructed