code: public function setFormParameters($optionNames)
      {
          foreach ((array) $optionNames as $option) {
              $this->formParameters[$option] = true;
          }
  
          return $this;
      }
docs: Define a form parameter option.
  
  @param $optionNames
  
  @return $this