/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Setup/SampleData/StateInterface.php
57 строк
926 B
Alexandra Zota
ACP2E-4019: CE copyright updates for 2.4.9-beta1
22 окт 2025, 17:47
22 окт 2025, 17:47
1b769b7
Код
Авторство
О чём код?
<?php /** * Copyright 2015 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Framework\Setup\SampleData; /** * Interface for SampleData modules installation * * @api */ interface StateInterface { /** * Current state */ const ERROR = 'error'; const INSTALLED = 'installed'; /** * Set error flag to Sample Data state * * @return void */ public function setError(); /** * Check if Sample Data state has error * * @return bool */ public function hasError(); /** * Set installed flag to Sample Data state * * @return void */ public function setInstalled(); /** * Check if Sample Data is installed * * @return bool */ public function isInstalled(); /** * Clear Sample Data state * * @return void */ public function clearState(); }