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
framework
Validator
Constraint
Option.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\Validator\Constraint
;
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
}
Magento\Framework\Validator\Constraint
Magento\Framework\Validator\Constraint\Option\__construct
__construct($value)
Definition:
Option.php:22
Magento\Framework\Validator\Constraint\Option\getValue
getValue()
Definition:
Option.php:32
Magento\Framework\Validator\Constraint\Option
Definition:
Option.php:10
$value
$value
Definition:
gender.phtml:16
Magento\Framework\Validator\Constraint\Option\$_value
$_value
Definition:
Option.php:15