public addFileContent ( string $name, string $content, array $options = [] ) | ||
$name | string | part (form input) name |
$content | string | file content. |
$options | array | content part options, valid options are: - fileName - string, base name of the uploading file. - mimeType - string, file mime type, if not set it 'application/octet-stream' will be used. |