. */ namespace SP\Domain\Export\Ports; use SP\Domain\Core\Exceptions\CheckException; use SP\Infrastructure\File\ArchiveHandlerInterface; use SP\Infrastructure\File\FileHandlerInterface; /** * BackupFiles */ interface BackupFileHelperService { /** * @return FileHandlerInterface */ public function getAppBackupFileHandler(): FileHandlerInterface; /** * @return FileHandlerInterface */ public function getDbBackupFileHandler(): FileHandlerInterface; /** * @return ArchiveHandlerInterface * @throws CheckException */ public function getDbBackupArchiveHandler(): ArchiveHandlerInterface; /** * @return ArchiveHandlerInterface * @throws CheckException */ public function getAppBackupArchiveHandler(): ArchiveHandlerInterface; /** * @return string */ public function getHash(): string; }