lib/FormBody.php
public function addField(string $name, string $value, string $contentType = 'text/plain') {
        $this->fields[] = [$name, $value, $contentType, null];
        $this->resetCache();
    }
public function addField(string $name, string $value, string $contentType = 'text/plain') {
        $this->fields[] = [$name, $value, $contentType, null];
        $this->resetCache();
    }
public function addField ( string $ name , string $ value , string $ contentType = 'text/plain' ) { $ this -> fields [ ] = [ $ name , $ value , $ contentType , null ] ; $ this -> resetCache ( ) ; }
Add a data field to the form entity body.

@param string $name
@param string $value
@param string $contentType
Add a data field to the form entity body .