function InputStreamUploadedFile::getRealPath

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

Overrides UploadedFileInterface::getRealPath

File

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

Class

InputStreamUploadedFile
An uploaded file from an input stream.

Namespace

Drupal\file\Upload

Code

public function getRealPath() : string|false {
    return $this->realPath;
}

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