Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function __invoke(ContainerInterface $serviceLocator, $requestedName, array $options = null) |
||
13 | { |
||
14 | $authService = $serviceLocator->get('lmcuser_auth_service'); |
||
15 | $authAdapter = $serviceLocator->get('LmcUser\Authentication\Adapter\AdapterChain'); |
||
16 | |||
17 | $controllerPlugin = new Controller\Plugin\LmcUserAuthentication; |
||
18 | $controllerPlugin->setAuthService($authService); |
||
19 | $controllerPlugin->setAuthAdapter($authAdapter); |
||
20 | |||
21 | return $controllerPlugin; |
||
22 | } |
||
23 | |||
37 |