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
UniversalFactory.php
Go to the documentation of this file.
1
<?php
12
namespace
Magento\Framework\Validator
;
13
14
class
UniversalFactory
15
{
19
protected
$_objectManager
;
20
24
public
function
__construct
(\
Magento
\Framework\
ObjectManagerInterface
$objectManager
)
25
{
26
$this->_objectManager =
$objectManager
;
27
}
28
34
public
function
create
(
$className
, array
$arguments
= [])
35
{
36
return
$this->_objectManager->create(
$className
,
$arguments
);
37
}
38
}
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\Validator\UniversalFactory
Definition:
UniversalFactory.php:14
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\Validator\UniversalFactory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition:
UniversalFactory.php:24
Magento\Framework\Validator\UniversalFactory\create
create($className, array $arguments=[])
Definition:
UniversalFactory.php:34
Magento
$arguments
$arguments
Definition:
final_price.phtml:24
Magento\Framework\Validator
Definition:
AbstractValidator.php:6
Magento\Framework\Validator\UniversalFactory\$_objectManager
$_objectManager
Definition:
UniversalFactory.php:19
$className
if($currentSelectedMethod==$_code) $className
Definition:
form.phtml:31