/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Backup/BackupInterface.php
74 строки
1 KB
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2014 Adobe * All Rights Reserved. */ /** * 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); }