function InputStreamUploadedFile::getSize

Same name in other branches
  1. 11.x core/modules/file/src/Upload/InputStreamUploadedFile.php \Drupal\file\Upload\InputStreamUploadedFile::getSize()

Overrides UploadedFileInterface::getSize

File

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

Class

InputStreamUploadedFile
An uploaded file from an input stream.

Namespace

Drupal\file\Upload

Code

public function getSize() : int {
    return $this->size;
}

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