ZF-Commons / zfc-rbac

Role-based access control module to provide additional features on top of Zend\Permissions\Rbac
BSD 3-Clause "New" or "Revised" License
181 stars 111 forks source link

Hotfix/typo #363

Closed Nirzol closed 7 years ago

Nirzol commented 7 years ago

Doc about strategy, add $em declaration like above

$app = $event->getApplication();
$sm = $app->getServiceManager();
$em = $app->getEventManager();

$listener = $sm->get(\ZfcRbac\View\Strategy\RedirectStrategy::class);
$listener->attach($em);
prolic commented 7 years ago

Woah, way too many commits. Maybe rebase?