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-paypal
Model
Config
Factory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Paypal\Model\Config
;
7
11
class
Factory
12
{
18
protected
$_objectManager
=
null
;
19
25
public
function
__construct
(\
Magento
\Framework\
ObjectManagerInterface
$objectManager
)
26
{
27
$this->_objectManager =
$objectManager
;
28
}
29
37
public
function
create
(
$className
, array
$data
= [])
38
{
39
return
$this->_objectManager->create(
$className
,
$data
);
40
}
41
}
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Paypal\Model\Config\Factory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition:
Factory.php:25
Magento\Paypal\Model\Config\Factory\create
create($className, array $data=[])
Definition:
Factory.php:37
Magento\Framework\DataObject\Factory
Definition:
Factory.php:8
Magento
Magento\Paypal\Model\Config\Factory\$_objectManager
$_objectManager
Definition:
Factory.php:18
Magento\Paypal\Model\Config
$className
if($currentSelectedMethod==$_code) $className
Definition:
form.phtml:31