public function FileBag::add in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/FileBag.php \Symfony\Component\HttpFoundation\FileBag::add()
Adds parameters.
Parameters
array $parameters An array of parameters:
Overrides ParameterBag::add
1 call to FileBag::add()
- FileBag::replace in vendor/
symfony/ http-foundation/ FileBag.php - Replaces the current parameters by a new set.
File
- vendor/
symfony/ http-foundation/ FileBag.php, line 60
Class
- FileBag
- FileBag is a container for uploaded files.
Namespace
Symfony\Component\HttpFoundationCode
public function add(array $files = array()) {
foreach ($files as $key => $file) {
$this
->set($key, $file);
}
}