original_string: function getStream()
      {
          if ($err = $this->getError() !== UPLOAD_ERR_OK)
              // TODO Handle Upload With Exception Error
              throw new \RuntimeException(sprintf(
                  'Cannot retrieve stream due to upload error. error: (%s).'
                  , getUploadErrorMessageFromCode($err)
              ));
  
          if ($this->isFileMoved)
              throw new \RuntimeException('Cannot retrieve stream after it has already been moved');
  
          if ($this->stream)
              return $this->stream;
  
          $givenFileResource = $this->_c_givenResource;
          if (!$givenFileResource instanceof StreamInterface)
              $givenFileResource = new Stream($givenFileResource, 'r');
          
          return $this->stream = $givenFileResource;
      }
code: function getStream()
      {
          if ($err = $this->getError() !== UPLOAD_ERR_OK)
              // TODO Handle Upload With Exception Error
              throw new \RuntimeException(sprintf(
                  'Cannot retrieve stream due to upload error. error: (%s).'
                  , getUploadErrorMessageFromCode($err)
              ));
  
          if ($this->isFileMoved)
              throw new \RuntimeException('Cannot retrieve stream after it has already been moved');
  
          if ($this->stream)
              return $this->stream;
  
          $givenFileResource = $this->_c_givenResource;
          if (!$givenFileResource instanceof StreamInterface)
              $givenFileResource = new Stream($givenFileResource, 'r');
          
          return $this->stream = $givenFileResource;
      }
code_tokens: function getStream ( ) { if ( $ err = $ this -> getError ( ) !== UPLOAD_ERR_OK ) // TODO Handle Upload With Exception Error throw new \ RuntimeException ( sprintf ( 'Cannot retrieve stream due to upload error. error: (%s).' , getUploadErrorMessageFromCode ( $ err ) ) ) ; if ( $ this -> isFileMoved ) throw new \ RuntimeException ( 'Cannot retrieve stream after it has already been moved' ) ; if ( $ this -> stream ) return $ this -> stream ; $ givenFileResource = $ this -> _c_givenResource ; if ( ! $ givenFileResource instanceof StreamInterface ) $ givenFileResource = new Stream ( $ givenFileResource , 'r' ) ; return $ this -> stream = $ givenFileResource ; }
docstring: Get Streamed Object Of Uploaded File
  
  @return StreamInterface
docstring_tokens: Get Streamed Object Of Uploaded File