/
githubmirror
/
magento2
Обзор
Документация
Войти
/
githubmirror
/
magento2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.4-develop
lib/internal/Magento/Framework/ObjectManager/ConfigInterface.php
89 строк
2 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. */ declare(strict_types=1); namespace Magento\Framework\ObjectManager; /** * Interface \Magento\Framework\ObjectManager\ConfigInterface * * @api */ interface ConfigInterface { /** * Set class relations * * @param RelationsInterface $relations * * @return void */ public function setRelations(RelationsInterface $relations); /** * Set configuration cache instance * * @param ConfigCacheInterface $cache * * @return void */ public function setCache(ConfigCacheInterface $cache); /** * Retrieve list of arguments per type * * @param string $type * @return array|null */ public function getArguments($type); /** * Check whether type is shared * * @param string $type * @return bool */ public function isShared($type); /** * Retrieve instance type * * @param string $instanceName * @return mixed */ public function getInstanceType($instanceName); /** * Retrieve preference for type * * @param string $type * @return string * @throws \LogicException */ public function getPreference($type); /** * Returns list of virtual types * * @return array */ public function getVirtualTypes(); /** * Extend configuration * * @param array $configuration * @return void */ public function extend(array $configuration); /** * Returns list on preferences * * @return array */ public function getPreferences(); }