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-sales-rule
Model
Validator
Pool.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\SalesRule\Model\Validator
;
8
12
class
Pool
13
{
17
protected
$validators
= [];
18
22
public
function
__construct
(array
$validators
= [])
23
{
24
$this->validators =
$validators
;
25
}
26
33
public
function
getValidators
(
$type
)
34
{
35
return
isset($this->validators[
$type
]) ? $this->validators[
$type
] : [];
36
}
37
}
Magento\SalesRule\Model\Validator
Definition:
Pool.php:7
Magento\SalesRule\Model\Validator\Pool\$validators
$validators
Definition:
Pool.php:17
Magento\SalesRule\Model\Validator\Pool\__construct
__construct(array $validators=[])
Definition:
Pool.php:22
Magento\SalesRule\Model\Validator\Pool\getValidators
getValidators($type)
Definition:
Pool.php:33
$type
$type
Definition:
item.phtml:13
Magento\SalesRule\Model\Validator\Pool
Definition:
Pool.php:12