Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
DimensionMode.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
8 namespace Magento\Indexer\Model;
9 
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 }
__construct(string $name, array $dimensions)
if(!isset($_GET['name'])) $name
Definition: log.php:14