/** * Add the proper amount of bytes to the stream if * we are all out of data to read return false. * * @return bool */ private function getStream() { if (!feof($this->loader->getFile())) { $this->stream .= fread($this->loader->getFile(), $this->loader->getBytes()); return true; } return false; }