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
Model
DimensionMode.php
Go to the documentation of this file.
1
<?php
6
declare(strict_types=1);
7
8
namespace
Magento\Indexer\Model
;
9
13
class
DimensionMode
14
{
18
private
$name;
19
23
private
$dimensions;
24
29
public
function
__construct
(
string
$name, array $dimensions)
30
{
31
$this->dimensions = (
function
(
string
...$dimensions) {
32
return
$dimensions;
33
})(...$dimensions);
34
$this->
name
=
$name
;
35
}
36
42
public
function
getName
(): string
43
{
44
return
$this->name;
45
}
46
52
public
function
getDimensions
(): array
53
{
54
return
$this->dimensions;
55
}
56
}
Magento\Indexer\Model\DimensionMode
Definition:
DimensionMode.php:13
Magento\Indexer\Model\DimensionMode\__construct
__construct(string $name, array $dimensions)
Definition:
DimensionMode.php:29
Magento\Indexer\Model\DimensionMode\getName
getName()
Definition:
DimensionMode.php:42
name
Magento\Indexer\Model
Magento\Indexer\Model\DimensionMode\getDimensions
getDimensions()
Definition:
DimensionMode.php:52
$name
if(!isset($_GET['name'])) $name
Definition:
log.php:14