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
Data
ObjectFactory.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\Data
;
8
13
class
ObjectFactory
14
{
18
protected
$objectManager
;
19
23
public
function
__construct
(\
Magento
\Framework\
ObjectManagerInterface
$objectManager
)
24
{
25
$this->objectManager =
$objectManager
;
26
}
27
35
public
function
create
(
$className
, array
$arguments
)
36
{
37
return
$this->objectManager->create(
$className
,
$arguments
);
38
}
39
}
Magento\Framework\Data\ObjectFactory\create
create($className, array $arguments)
Definition:
ObjectFactory.php:35
Magento\Framework\Data\ObjectFactory
Definition:
ObjectFactory.php:13
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\Data
Definition:
AbstractCriteria.php:6
Magento
$arguments
$arguments
Definition:
final_price.phtml:24
Magento\Framework\Data\ObjectFactory\$objectManager
$objectManager
Definition:
ObjectFactory.php:18
Magento\Framework\Data\ObjectFactory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition:
ObjectFactory.php:23
$className
if($currentSelectedMethod==$_code) $className
Definition:
form.phtml:31