12345678910111213141516171819202122 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- declare(strict_types=1);
- namespace Magento\Framework\GraphQl\Config;
- /**
- * Responsible for translating data produced by configuration readers to config objects
- */
- interface ConfigElementFactoryInterface
- {
- /**
- * Map data from passed by config readers to a data object format
- *
- * @param array $data
- * @return ConfigElementInterface
- */
- public function createFromConfigData(array $data) : ConfigElementInterface;
- }
|