_fileHandle = $fileHandle; } /** * Read the next chunk of the file. * * @param integer $bytesRequested The size of the chunk that is to be read. * @return string A corresponding piece of the message. This could be * binary or regular text. */ public function read($bytesRequested) { return fread($this->_fileHandle, $bytesRequested); } }