Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
EnumValue.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
11 
16 {
20  private $name;
21 
25  private $value;
26 
30  private $description;
31 
37  public function __construct(string $name, string $value, string $description = '')
38  {
39  $this->name = $name;
40  $this->value = $value;
41  $this->description = $description;
42  }
43 
49  public function getName(): string
50  {
51  return $this->name;
52  }
53 
59  public function getValue() : string
60  {
61  return $this->value;
62  }
63 
69  public function getDescription() : string
70  {
71  return $this->description;
72  }
73 }
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9
__construct(string $name, string $value, string $description='')
Definition: EnumValue.php:37
if(!isset($_GET['name'])) $name
Definition: log.php:14