function InputStreamUploadedFile::__construct

Same name and namespace in other branches
  1. 10 core/modules/file/src/Upload/InputStreamUploadedFile.php \Drupal\file\Upload\InputStreamUploadedFile::__construct()

Creates a new InputStreamUploadedFile.

File

core/modules/file/src/Upload/InputStreamUploadedFile.php, line 17

Class

InputStreamUploadedFile
An uploaded file from an input stream.

Namespace

Drupal\file\Upload

Code

public function __construct(protected readonly string $clientOriginalName, protected readonly string $filename, protected readonly string $realPath, protected readonly int|false $size) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.