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
Indexer
Test
TestStep
ReindexStep.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Indexer\Test\TestStep
;
7
8
use
Magento\Mtf\Util\Command\Cli\Indexer
;
9
use Magento\Mtf\TestStep\TestStepInterface;
10
14
class
ReindexStep
implements
TestStepInterface
15
{
19
private
$indexer;
20
26
private
$indexerType;
27
32
public
function
__construct
(
33
Indexer
$indexer,
34
array $indexerType = []
35
) {
36
$this->indexer =
$indexer
;
37
$this->indexerType = $indexerType;
38
}
39
46
public
function
run
()
47
{
48
$this->indexer->reindex($this->indexerType);
49
}
50
}
Magento\Indexer\Test\TestStep\ReindexStep\run
run()
Definition:
ReindexStep.php:46
Magento\Indexer\Test\TestStep\ReindexStep\__construct
__construct(Indexer $indexer, array $indexerType=[])
Definition:
ReindexStep.php:32
Magento\Mtf\Util\Command\Cli\Indexer
Definition:
Indexer.php:14
Magento\Indexer\Test\TestStep
Definition:
ReindexStep.php:6
Magento\Indexer\Test\TestStep\ReindexStep
Definition:
ReindexStep.php:14
$indexer
$indexer
Definition:
product_different_store_prices.php:21