Skip to content

Commit

Permalink
[373] Cannot get a name and parameters for RoleProviderPluginManager Z…
Browse files Browse the repository at this point in the history
  • Loading branch information
ashatrov committed May 4, 2017
1 parent 2ce24f1 commit cf1c8ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ZfcRbac/Factory/RoleServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public function __invoke(ContainerInterface $container, $requestedName, array $o
$pluginManager = $container->get('ZfcRbac\Role\RoleProviderPluginManager');

/* @var \ZfcRbac\Role\RoleProviderInterface $roleProvider */
reset($roleProviderConfig);
$roleProvider = $pluginManager->get(key($roleProviderConfig), current($roleProviderConfig));

/* @var \Rbac\Traversal\Strategy\TraversalStrategyInterface $traversalStrategy */
Expand Down

0 comments on commit cf1c8ec

Please sign in to comment.