code: public function setParams(array $params)
      {
          foreach ($params as $key => $value) {
              $this->setParam($key, $value);
          }
          return $this;
      }
docs: Sets many form parameters at once.
  
  @param array $params
  
  @return self