![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/framework/Backup/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * Interface for work with archives * * @author Magento Core Team <[email protected]> */ namespace Magento\Framework\Backup; /** * @api * * @deprecated 101.0.7 Backups should be done using other means. * @since 100.0.2 */ interface BackupInterface { /** * Create Backup * * @return boolean */ public function create(); /** * Rollback Backup * * @return boolean */ public function rollback(); /** * Set Backup Extension * * @param string $backupExtension * @return $this */ public function setBackupExtension($backupExtension); /** * Set Resource Model * * @param object $resourceModel * @return $this */ public function setResourceModel($resourceModel); /** * Set Time * * @param int $time * @return $this */ public function setTime($time); /** * Get Backup Type * * @return string */ public function getType(); /** * Set path to directory where backups stored * * @param string $backupsDir * @return $this */ public function setBackupsDir($backupsDir); }