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
functional
tests
app
Magento
Store
Test
TestStep
RestoreDefaultStoreViewStep.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Store\Test\TestStep
;
8
9
use Magento\Mtf\TestStep\TestStepInterface;
10
use
Magento\Store\Test\Fixture\Store
;
11
15
class
RestoreDefaultStoreViewStep
implements
TestStepInterface
16
{
22
private
$storeView;
23
27
public
function
__construct
(Store $storeView)
28
{
29
$this->storeView = $storeView;
30
}
31
37
public
function
run
()
38
{
39
$this->storeView->persist();
40
}
41
}
Magento\Store\Test\TestStep
Definition:
DeleteWebsitesEntityStep.php:7
Magento\Store\Test\TestStep\RestoreDefaultStoreViewStep
Definition:
RestoreDefaultStoreViewStep.php:15
Magento\Store\Test\TestStep\RestoreDefaultStoreViewStep\__construct
__construct(Store $storeView)
Definition:
RestoreDefaultStoreViewStep.php:27
Magento\Store\Test\Fixture\Store
Definition:
GroupId.php:7
Magento\Store\Test\TestStep\RestoreDefaultStoreViewStep\run
run()
Definition:
RestoreDefaultStoreViewStep.php:37