/** * Check - archiver is valid or not * * @return boolean */ public function isValid() { return parent::isValid() && extension_loaded('bz2'); }
/** * Check - archiver is valid or not * * @return boolean */ public function isValid() { return parent::isValid() && function_exists('gzcompress'); }