Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FileBag.php

function FileBag::replace

Overrides ParameterBag::replace

1 call to FileBag::replace()
FileBag::__construct in vendor/symfony/http-foundation/FileBag.php

File

vendor/symfony/http-foundation/FileBag.php, line 34

Class

FileBag
FileBag is a container for uploaded files.

Namespace

Symfony\Component\HttpFoundation

Code

public function replace(array $files = []) : void {
    $this->parameters = [];
    $this->add($files);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal