Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | public function createService(ServiceLocatorInterface $pluginManager) |
||
16 | { |
||
17 | /* @var $pluginManager HelperPluginManager */ |
||
18 | $serviceManager = $pluginManager->getServiceLocator(); |
||
19 | |||
20 | /* @var $authService AuthenticationService */ |
||
21 | $authService = $serviceManager->get('zfcuser_auth_service'); |
||
22 | |||
23 | $viewHelper = new ZfcUserIdentity; |
||
24 | $viewHelper->setAuthService($authService); |
||
25 | |||
26 | return $viewHelper; |
||
27 | } |
||
28 | } |
||
29 |