-
Notifications
You must be signed in to change notification settings - Fork 0
/
GuardsProviderPluginManager.php
35 lines (29 loc) · 1.09 KB
/
GuardsProviderPluginManager.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* @see https://github.com/dotkernel/dot-rbac-guard/ for the canonical source repository
* @copyright Copyright (c) 2017 Apidemia (https://www.apidemia.com)
* @license https://github.com/dotkernel/dot-rbac-guard/blob/master/LICENSE.md MIT License
*/
declare(strict_types = 1);
namespace Dot\Rbac\Guard\Provider;
use Dot\Rbac\Guard\Factory\GuardsProviderFactory;
use Laminas\ServiceManager\AbstractPluginManager;
/**
* Class GuardsProviderPluginManager
* @package Dot\Rbac\Guard\Provider
*/
class GuardsProviderPluginManager extends AbstractPluginManager
{
protected $instanceOf = GuardsProviderInterface::class;
protected $factories = [
ArrayGuardsProvider::class => GuardsProviderFactory::class,
];
protected $aliases = [
'arrayguardsprovider' => ArrayGuardsProvider::class,
'arrayGuardsProvider' => ArrayGuardsProvider::class,
'ArrayGuardsProvider' => ArrayGuardsProvider::class,
'arrayguards' => ArrayGuardsProvider::class,
'arrayGuards' => ArrayGuardsProvider::class,
'ArrayGuards' => ArrayGuardsProvider::class,
];
}