Skip to content

Instantly share code, notes, and snippets.

@basz
Created November 10, 2015 15:50
Show Gist options
  • Select an option

  • Save basz/c88bf7376bd7a60a22cf to your computer and use it in GitHub Desktop.

Select an option

Save basz/c88bf7376bd7a60a22cf to your computer and use it in GitHub Desktop.
class SomePluginManager extends AbstractPluginManager
{
/**
* @var array
*/
protected $invokableClasses = [
'ZfcRbac\Role\InMemoryRoleProvider' => 'ZfcRbac\Role\InMemoryRoleProvider'
];
}
class SomePluginManager extends AbstractPluginManager
{
/**
* @var array
*/
protected $factories = [
'ZfcRbac\Role\InMemoryRoleProvider' => InvokableFactory::class,
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment