original_string: public function setParam($key, $value, $type = \PDO::PARAM_STR): self
      {
          if (null === $key) {
              $key = \count($this->params);
          }
  
          $this->params[$key] = $value;
          $this->types[$key] = $type;
  
          return $this;
      }
code: public function setParam($key, $value, $type = \PDO::PARAM_STR): self
      {
          if (null === $key) {
              $key = \count($this->params);
          }
  
          $this->params[$key] = $value;
          $this->types[$key] = $type;
  
          return $this;
      }
code_tokens: public function setParam ( $ key , $ value , $ type = \ PDO :: PARAM_STR ) : self { if ( null === $ key ) { $ key = \ count ( $ this -> params ) ; } $ this -> params [ $ key ] = $ value ; $ this -> types [ $ key ] = $ type ; return $ this ; }
docstring: Sets a query parameter for the query being constructed
  
  Example
  <code>
  $sb = new SelectBuilder();
  $sb
  ->select('u')
  ->from('users', 'u')
  ->where('u.id = :user_id')
  ->setParameter(':user_id', 1);
  </code>
  
  @param  string|int|null $key   The parameter position or name
  @param  mixed      $value The parameter value
  @param  integer    $type  PDO::PARAM_*
  
  @return self
docstring_tokens: Sets a query parameter for the query being constructed