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
module-indexer
Console
Command
IndexerInfoCommand.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Indexer\Console\Command
;
7
8
use Symfony\Component\Console\Input\InputInterface;
9
use Symfony\Component\Console\Output\OutputInterface;
10
14
class
IndexerInfoCommand
extends
AbstractIndexerCommand
15
{
19
protected
function
configure
()
20
{
21
$this->setName(
'indexer:info'
)->setDescription(
'Shows allowed Indexers'
);
22
}
23
27
protected
function
execute
(InputInterface $input, OutputInterface
$output
)
28
{
29
$indexers = $this->getAllIndexers();
30
foreach
($indexers as
$indexer
) {
31
$output
->writeln(sprintf(
'%-40s %s'
,
$indexer
->getId(),
$indexer
->getTitle()));
32
}
33
}
34
}
Magento\Indexer\Console\Command\IndexerInfoCommand
Definition:
IndexerInfoCommand.php:14
Magento\Indexer\Console\Command\IndexerInfoCommand\configure
configure()
Definition:
IndexerInfoCommand.php:19
Magento\Indexer\Console\Command\AbstractIndexerCommand
Definition:
AbstractIndexerCommand.php:17
Magento\Indexer\Console\Command\IndexerInfoCommand\execute
execute(InputInterface $input, OutputInterface $output)
Definition:
IndexerInfoCommand.php:27
$output
$output
Definition:
classmap_generator.php:100
Magento\Indexer\Console\Command
Definition:
AbstractIndexerCommand.php:6
$indexer
$indexer
Definition:
product_different_store_prices.php:21