public function set(\BearFramework\App\Request\FormDataItem $dataItem): self
    {
        $this->data[$dataItem->name] = $dataItem;
        return $this;
    }
public function set(\BearFramework\App\Request\FormDataItem $dataItem): self
    {
        $this->data[$dataItem->name] = $dataItem;
        return $this;
    }
public function set ( \ BearFramework \ App \ Request \ FormDataItem $ dataItem ) : self { $ this -> data [ $ dataItem -> name ] = $ dataItem ; return $ this ; }
Sets a form data item.

@param \BearFramework\App\Request\FormDataItem $form data item The form data item to set.
@return self Returns a reference to itself.
Sets a form data item .