Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
integration
framework
Magento
TestFramework
ObjectManager
Configurator.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\TestFramework\ObjectManager
;
7
8
use
Magento\Framework\App\Config\ScopeConfigInterface
;
9
use
Magento\Framework\Stdlib\CookieManagerInterface
;
10
use
Magento\Store\Model\StoreManagerInterface
;
11
use
Magento\Framework\App\MutableScopeConfig
;
12
use
Magento\Framework\App\ReinitableConfig
;
13
use
Magento\Framework\App\Config
as
AppConfig
;
14
use
Magento\Backend\App\Config
as BackendConfig;
15
21
class
Configurator
implements
\Magento\Framework\ObjectManager\DynamicConfigInterface
22
{
28
public
function
getConfiguration
()
29
{
30
return
[
31
'preferences'
=> [
32
CookieManagerInterface::class => \Magento\TestFramework\CookieManager::class,
33
StoreManagerInterface::class => \Magento\TestFramework\Store\StoreManager::class,
34
ScopeConfigInterface::class => \Magento\TestFramework\App\Config::class,
35
\Magento\Framework\App\Config::class => \Magento\TestFramework\App\Config::class,
36
BackendConfig::class => \Magento\TestFramework\Backend\App\Config::class,
37
ReinitableConfig::class => \Magento\TestFramework\App\ReinitableConfig::class,
38
MutableScopeConfig::class => \Magento\TestFramework\App\MutableScopeConfig::class,
39
]
40
];
41
}
42
}
Magento\TestFramework\ObjectManager\Configurator
Definition:
Configurator.php:21
Magento\Framework\App\Config
Definition:
Base.php:9
Magento\Framework\ObjectManager\DynamicConfigInterface
Definition:
DynamicConfigInterface.php:12
Magento\Backend\App\Config
Definition:
Config.php:17
Magento\TestFramework\ObjectManager\Configurator\getConfiguration
getConfiguration()
Definition:
Configurator.php:28
Magento\Framework\Stdlib\CookieManagerInterface
Definition:
CookieManagerInterface.php:27
Magento\Framework\App\MutableScopeConfig
Definition:
MutableScopeConfig.php:17
Magento\Store\Model\StoreManagerInterface
Definition:
StoreManagerInterface.php:17
Magento\Framework\App\ReinitableConfig
Definition:
ReinitableConfig.php:14
Magento\Framework\App\Config\ScopeConfigInterface
Definition:
ScopeConfigInterface.php:15
Magento\TestFramework\ObjectManager
Definition:
Config.php:6