code: public function add($id, IFormField $field)
      {
          $field->setId($id);
  
          return $this->addFormField($field);
      }
docs: Add a form item
  
  @param string     $id
  @param IFormField $field
  
  @return IFormField