1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- /**
- * Interface for work with archives
- *
- * @author Magento Core Team <core@magentocommerce.com>
- */
- 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);
- }
|