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
Acl
AclResourceFactory.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\Acl
;
9
10
use
Magento\Framework\ObjectManagerInterface
;
11
12
class
AclResourceFactory
13
{
14
const
RESOURCE_CLASS_NAME
= \Magento\Framework\Acl\AclResource::class;
15
19
protected
$_objectManager
;
20
24
public
function
__construct
(
ObjectManagerInterface
$objectManager
)
25
{
26
$this->_objectManager =
$objectManager
;
27
}
28
35
public
function
createResource
(array
$arguments
= [])
36
{
37
return
$this->_objectManager->create(self::RESOURCE_CLASS_NAME,
$arguments
);
38
}
39
}
Magento\Framework\Acl\AclResourceFactory\__construct
__construct(ObjectManagerInterface $objectManager)
Definition:
AclResourceFactory.php:24
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework\Acl\AclResourceFactory
Definition:
AclResourceFactory.php:12
Magento\Framework\Acl\AclResourceFactory\RESOURCE_CLASS_NAME
const RESOURCE_CLASS_NAME
Definition:
AclResourceFactory.php:14
Magento\Framework\Acl\AclResourceFactory\createResource
createResource(array $arguments=[])
Definition:
AclResourceFactory.php:35
$arguments
$arguments
Definition:
final_price.phtml:24
Magento\Framework\Acl
Magento\Framework\Acl\AclResourceFactory\$_objectManager
$_objectManager
Definition:
AclResourceFactory.php:19