Embryo/Http/Message/UploadedFile.php
public function getStream(): StreamInterface
        {
            if ($this->moved) {
                throw new \RuntimeException(sprintf('Uploaded file %1s has already been moved', $this->clientFilename));
            }
            return $this->file;
        }
public function getStream(): StreamInterface
        {
            if ($this->moved) {
                throw new \RuntimeException(sprintf('Uploaded file %1s has already been moved', $this->clientFilename));
            }
            return $this->file;
        }
public function getStream ( ) : StreamInterface { if ( $ this -> moved ) { throw new \ RuntimeException ( sprintf ( 'Uploaded file %1s has already been moved' , $ this -> clientFilename ) ) ; } return $ this -> file ; }
Retrieves a stream representing the uploaded file.

This method returns a StreamInterface instance, representing the
uploaded file.

@return StreamInterface
@throws RuntimeException
Retrieves a stream representing the uploaded file .