Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
AclFactory Class Reference

Public Member Functions

 __construct (\Magento\Framework\ObjectManagerInterface $objectManager)
 
 create ()
 

Detailed Description

Definition at line 10 of file AclFactory.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( \Magento\Framework\ObjectManagerInterface  $objectManager)
Parameters
\Magento\Framework\ObjectManagerInterface$objectManager

Definition at line 22 of file AclFactory.php.

23  {
24  $this->_objectManager = $objectManager;
25  }
$objectManager
Definition: bootstrap.php:17

Member Function Documentation

◆ create()

create ( )

Create new magento acl instance

Returns
\Magento\Framework\Acl

Definition at line 32 of file AclFactory.php.

33  {
34  return $this->_objectManager->create(Acl::class);
35  }

The documentation for this class was generated from the following file: