Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Option.php
Go to the documentation of this file.
1 <?php
9 
10 class Option implements \Magento\Framework\Validator\Constraint\OptionInterface
11 {
15  protected $_value;
16 
22  public function __construct($value)
23  {
24  $this->_value = $value;
25  }
26 
32  public function getValue()
33  {
34  return $this->_value;
35  }
36 }
$value
Definition: gender.phtml:16