public function stream()
    {
        $stream = fopen($this->file, 'r');

        $stream = $stream === false ? null : $stream;

        return new Stream($stream);
    }
public function stream()
    {
        $stream = fopen($this->file, 'r');

        $stream = $stream === false ? null : $stream;

        return new Stream($stream);
    }
public function stream ( ) { $ stream = fopen ( $ this -> file , 'r' ) ; $ stream = $ stream === false ? null : $ stream ; return new Stream ( $ stream ) ; }
Returns a stream representing the uploaded file.

@return \Zapheus\Http\Message\StreamInterface

@throws \RuntimeException
Returns a stream representing the uploaded file .