public function UploadedFile::getStream in Lockr 7.3
Throws
RuntimeException if the upload was not successful.
Overrides UploadedFileInterface::getStream
1 call to UploadedFile::getStream()
- UploadedFile::moveTo in vendor/
guzzlehttp/ psr7/ src/ UploadedFile.php
File
- vendor/
guzzlehttp/ psr7/ src/ UploadedFile.php, line 225
Class
Namespace
GuzzleHttp\Psr7Code
public function getStream() {
$this
->validateActive();
if ($this->stream instanceof StreamInterface) {
return $this->stream;
}
return new LazyOpenStream($this->file, 'r+');
}