public function getContents()
    {
        $this->valideAttach()->valideRead();
        if (($stream = stream_get_contents($this->stream)) === false) {
            throw new \RuntimeException('An error occurred while reading the stream.');
        }

        return $stream;
    }
public function getContents()
    {
        $this->valideAttach()->valideRead();
        if (($stream = stream_get_contents($this->stream)) === false) {
            throw new \RuntimeException('An error occurred while reading the stream.');
        }

        return $stream;
    }
public function getContents ( ) { $ this -> valideAttach ( ) -> valideRead ( ) ; if ( ( $ stream = stream_get_contents ( $ this -> stream ) ) === false ) { throw new \ RuntimeException ( 'An error occurred while reading the stream.' ) ; } return $ stream ; }
Renvoie le contenu restant.

@throws \RuntimeException Une erreur c'est produit pendant la lecture du flux.
@return string
Renvoie le contenu restant .