Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AclResourceFactory.php
Go to the documentation of this file.
1 <?php
8 namespace Magento\Framework\Acl;
9 
11 
13 {
14  const RESOURCE_CLASS_NAME = \Magento\Framework\Acl\AclResource::class;
15 
19  protected $_objectManager;
20 
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 }
__construct(ObjectManagerInterface $objectManager)
$objectManager
Definition: bootstrap.php:17
$arguments