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
Authorization
Factory.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\Authorization
;
9
10
use
Magento\Framework\Authorization
;
11
use
Magento\Framework\ObjectManagerInterface
;
12
13
class
Factory
14
{
18
const
CLASS_NAME
= \Magento\Framework\Authorization::class;
19
25
protected
$_objectManager
=
null
;
26
32
public
function
__construct
(
ObjectManagerInterface
$objectManager
)
33
{
34
$this->_objectManager =
$objectManager
;
35
}
36
43
public
function
create
(array
$data
= [])
44
{
45
return
$this->_objectManager->create(self::CLASS_NAME,
$data
);
46
}
47
}
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Framework\Authorization\Factory\create
create(array $data=[])
Definition:
Factory.php:43
Magento\Framework\Authorization\Factory
Definition:
Factory.php:13
Magento\Framework\Authorization\Factory\__construct
__construct(ObjectManagerInterface $objectManager)
Definition:
Factory.php:32
Magento\Framework\Authorization\Factory\$_objectManager
$_objectManager
Definition:
Factory.php:25
Magento\Framework\Authorization
Definition:
Factory.php:8
Magento\Framework\Authorization\Factory\CLASS_NAME
const CLASS_NAME
Definition:
Factory.php:18