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
View
Layout
ProcessorFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\View\Layout
;
7
11
class
ProcessorFactory
12
{
18
protected
$objectManager
;
19
25
protected
$instanceName
;
26
33
public
function
__construct
(
34
\
Magento
\Framework\
ObjectManagerInterface
$objectManager
,
35
$instanceName
= \
Magento
\Framework\
View
\
Layout
\ProcessorInterface::class
36
) {
37
$this->objectManager =
$objectManager
;
38
$this->instanceName =
$instanceName
;
39
}
40
47
public
function
create
(array
$data
= [])
48
{
49
return
$this->objectManager->create($this->instanceName,
$data
);
50
}
51
}
Magento\Framework\View\Layout
Definition:
AclCondition.php:6
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\View\Layout
Definition:
Layout.php:28
Magento\Framework\View\Layout\ProcessorFactory
Definition:
ProcessorFactory.php:11
Magento\Framework\View\Layout\ProcessorFactory\$instanceName
$instanceName
Definition:
ProcessorFactory.php:25
Magento\Framework\View\Layout\ProcessorFactory\$objectManager
$objectManager
Definition:
ProcessorFactory.php:18
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento
Magento\Framework\App\View
Definition:
View.php:8
Magento\Framework\View\Layout\ProcessorFactory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName=\Magento\Framework\View\Layout\ProcessorInterface::class)
Definition:
ProcessorFactory.php:33
Magento\Framework\View\Layout\ProcessorFactory\create
create(array $data=[])
Definition:
ProcessorFactory.php:47