src/Writer.php
public function flush()
    {
        rewind($this->handle);
        $out = stream_get_contents($this->handle);
        fseek($this->handle, 0, SEEK_END);
        return $out;
    }
public function flush()
    {
        rewind($this->handle);
        $out = stream_get_contents($this->handle);
        fseek($this->handle, 0, SEEK_END);
        return $out;
    }
public function flush ( ) { rewind ( $ this -> handle ) ; $ out = stream_get_contents ( $ this -> handle ) ; fseek ( $ this -> handle , 0 , SEEK_END ) ; return $ out ; }
Output all written data as string.

@return string
Output all written data as string .