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
Element
ExceptionHandlerBlockFactory.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\View\Element
;
7
12
class
ExceptionHandlerBlockFactory
13
{
14
const
DEFAULT_INSTANCE_NAME
= \Magento\Framework\View\Element\ExceptionHandlerBlock::class;
15
19
protected
$objectManager
;
20
24
protected
$instanceName
;
25
30
public
function
__construct
(
31
\
Magento
\Framework\
ObjectManagerInterface
$objectManager
,
32
$instanceName
= self::DEFAULT_INSTANCE_NAME
33
) {
34
$this->objectManager =
$objectManager
;
35
$this->instanceName =
$instanceName
;
36
}
37
44
public
function
create
(array
$data
= [])
45
{
46
return
$this->objectManager->create($this->instanceName,
$data
);
47
}
48
}
Magento\Framework\View\Element
Definition:
AbstractBlock.php:6
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\View\Element\ExceptionHandlerBlockFactory
Definition:
ExceptionHandlerBlockFactory.php:12
Magento\Framework\View\Element\ExceptionHandlerBlockFactory\$objectManager
$objectManager
Definition:
ExceptionHandlerBlockFactory.php:19
Magento\Framework\View\Element\ExceptionHandlerBlockFactory\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager, $instanceName=self::DEFAULT_INSTANCE_NAME)
Definition:
ExceptionHandlerBlockFactory.php:30
Magento\Framework\View\Element\ExceptionHandlerBlockFactory\create
create(array $data=[])
Definition:
ExceptionHandlerBlockFactory.php:44
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento
Magento\Framework\View\Element\ExceptionHandlerBlockFactory\$instanceName
$instanceName
Definition:
ExceptionHandlerBlockFactory.php:24
Magento\Framework\View\Element\ExceptionHandlerBlockFactory\DEFAULT_INSTANCE_NAME
const DEFAULT_INSTANCE_NAME
Definition:
ExceptionHandlerBlockFactory.php:14