function UploadedFile::getStream
Overrides UploadedFileInterface::getStream
1 call to UploadedFile::getStream()
- UploadedFile::moveTo in vendor/
guzzlehttp/ psr7/ src/ UploadedFile.php - Move the uploaded file to a new location.
File
-
vendor/
guzzlehttp/ psr7/ src/ UploadedFile.php, line 148
Class
Namespace
GuzzleHttp\Psr7Code
public function getStream() : StreamInterface {
$this->validateActive();
if ($this->stream instanceof StreamInterface) {
return $this->stream;
}
/** @var string $file */
$file = $this->file;
return new LazyOpenStream($file, 'r+');
}