54 \
Magento\Authorization\Model\RoleFactory $roleFactory,
55 \
Magento\Authorization\Model\RulesFactory $rulesFactory
57 $this->_roleCollectionFactory = $roleCollectionFactory;
58 $this->_rulesCollectionFactory = $rulesCollectionFactory;
59 $this->_roleFactory = $roleFactory;
60 $this->_rulesFactory = $rulesFactory;
70 return $this->_roleCollectionFactory->create();
80 return $this->_rulesCollectionFactory->create();
90 return $this->_roleFactory->create();
100 return $this->_rulesFactory->create();
__construct(\Magento\Authorization\Model\ResourceModel\Role\CollectionFactory $roleCollectionFactory, \Magento\Authorization\Model\ResourceModel\Rules\CollectionFactory $rulesCollectionFactory, \Magento\Authorization\Model\RoleFactory $roleFactory, \Magento\Authorization\Model\RulesFactory $rulesFactory)