/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/Setup/ConfigOptionsListInterface.php
45 строк
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 2015 Adobe * All Rights Reserved. */ declare(strict_types=1); namespace Magento\Framework\Setup; use Magento\Framework\App\DeploymentConfig; /** * Interface for handling options in deployment configuration tool * * @api */ interface ConfigOptionsListInterface { /** * Gets a list of input options so that user can provide required * information that will be used in deployment config file * * @return Option\AbstractConfigOption[] */ public function getOptions(); /** * Creates array of ConfigData objects from user input data. * Data in these objects will be stored in array form in deployment config file. * * @param array $options * @param DeploymentConfig $deploymentConfig * @return \Magento\Framework\Config\Data\ConfigData[] */ public function createConfig(array $options, DeploymentConfig $deploymentConfig); /** * Validates user input option values and returns error messages * * @param array $options * @param DeploymentConfig $deploymentConfig * @return string[] */ public function validate(array $options, DeploymentConfig $deploymentConfig); }