public function getData()
    {
        $fp = $this->getStream();
        $data = '';

        while (feof($fp) === false) {
            $data .= fread($fp, self::CHUNK_SIZE);
        }

        @fclose($fp);

        return $data;
    }
public function getData()
    {
        $fp = $this->getStream();
        $data = '';

        while (feof($fp) === false) {
            $data .= fread($fp, self::CHUNK_SIZE);
        }

        @fclose($fp);

        return $data;
    }
public function getData ( ) { $ fp = $ this -> getStream ( ) ; $ data = '' ; while ( feof ( $ fp ) === false ) { $ data .= fread ( $ fp , self :: CHUNK_SIZE ) ; } @ fclose ( $ fp ) ; return $ data ; }
Get the sequence of bytes composing the content of the file.

@throws \RuntimeException If the data cannot be retrieved.
Get the sequence of bytes composing the content of the file .