Метод | Описание | |
---|---|---|
__construct ( array $parameters = [] ) | Constructor. | |
add ( array $files = [] ) | (non-PHPdoc) | |
replace ( array $files = [] ) | (non-PHPdoc) | |
set ( $key, $value ) | (non-PHPdoc) |
Метод | Описание | |
---|---|---|
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 |
Результат | array | A (multi-dimensional) array of UploadedFile instances |
protected fixPhpFilesArray ( array $data ) : array | ||
$data | array | |
Результат | array |