/** * Release file pointers when the object is being serialized * * @return void */ public function _onSerialize() { $this->_closeAllFiles(); parent::_onSerialize(); }
/** * Release file pointers when the object is being serialized * * @codeCoverageIgnore * @return void */ public function _onSerialize() { $this->_closeAllFiles(); $this->fp = null; $this->cdfp = null; parent::_onSerialize(); }