extends |
ParameterBag |
|---|
FileBag is a container for uploaded files.
| Methods | ||
|---|---|---|
public
|
__construct(array|UploadedFile[] $parameters = [])
|
# |
public
|
replace(array $files = []): void
|
# |
public
|
set(string $key, mixed $value): void
|
# |
public
|
add(array $files = []): void
|
# |
protected
|
convertFileInformation(array|UploadedFile $file): UploadedFile[]|UploadedFile|null
|
# |
protected
|
fixPhpFilesArray(array $data): array
|
# |
| Methods inherited from Symfony\Component\HttpFoundation\ParameterBag |
|---|
all(), keys(), get(), has(), remove(), getAlpha(), getAlnum(), getDigits(), getString(), getInt(), getBoolean(), getEnum(), filter(), getIterator(), count() |
| Constants | ||
|---|---|---|
private
|
FILE_KEYS = ['error', 'name', 'size', 'tmp_name', 'type']
|
# |
| Properties inherited from Symfony\Component\HttpFoundation\ParameterBag |
|---|
$parameters |