Method | Description | |
---|---|---|
__construct ( array $parameters = [] ) | Constructor. | |
add ( array $files = [] ) | (non-PHPdoc) | |
replace ( array $files = [] ) | (non-PHPdoc) | |
set ( $key, $value ) | (non-PHPdoc) |
Method | Description | |
---|---|---|
convertFileInformation ( array | Symfony\Component\HttpFoundation\File\UploadedFile $file ) : array | Converts uploaded files to UploadedFile instances. | |
fixPhpFilesArray ( array $data ) : array | Fixes a malformed PHP $_FILES array. |
public __construct ( array $parameters = [] ) | ||
$parameters | array | An array of HTTP files |
protected convertFileInformation ( array | Symfony\Component\HttpFoundation\File\UploadedFile $file ) : array | ||
$file | array | Symfony\Component\HttpFoundation\File\UploadedFile | A (multi-dimensional) array of uploaded file information |
return | array | A (multi-dimensional) array of UploadedFile instances |
protected fixPhpFilesArray ( array $data ) : array | ||
$data | array | |
return | array |