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
Isolation
AppConfig.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\TestFramework\Isolation
;
8
9
use
Magento\TestFramework\App\Config
;
10
use
Magento\TestFramework\ObjectManager
;
11
15
class
AppConfig
16
{
20
private
$testAppConfig;
21
32
public
function
startTest
(\PHPUnit\Framework\TestCase $test)
33
{
34
$this->getTestAppConfig()->clean();
35
}
36
42
private
function
getTestAppConfig()
43
{
44
if
(!$this->testAppConfig) {
45
$this->testAppConfig =
ObjectManager::getInstance
()->get(Config::class);
46
}
47
48
return
$this->testAppConfig;
49
}
50
}
Magento\Framework\App\Config
Definition:
Base.php:9
Magento\Framework\App\ObjectManager\getInstance
static getInstance()
Definition:
ObjectManager.php:33
Magento\TestFramework\App\Config
Definition:
Config.php:18
Magento\TestFramework\Isolation\AppConfig\startTest
startTest(\PHPUnit\Framework\TestCase $test)
Definition:
AppConfig.php:32
Magento\TestFramework\Isolation
Definition:
AppConfig.php:7
Magento\TestFramework\ObjectManager
Definition:
Config.php:6