ZfcRbac\Factory\RoleProviderPluginManagerFactory::__invoke PHP Method

__invoke() public method

public __invoke ( Interop\Container\ContainerInterface $container, string $requestedName, array $options = null ) : RoleProviderPluginManager
$container Interop\Container\ContainerInterface
$requestedName string
$options array
return ZfcRbac\Role\RoleProviderPluginManager
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    {
        $config = $container->get('Config')['zfc_rbac']['role_provider_manager'];
        return new RoleProviderPluginManager($container, $config);
    }
RoleProviderPluginManagerFactory