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 $serviceLocator) |
||
16 | { |
||
17 | /* @var $authStorage Storage\StorageInterface */ |
||
18 | $authStorage = $serviceLocator->get('ZfcUser\Authentication\Storage\Db'); |
||
19 | |||
20 | /* @var $authAdapter Adapter\AdapterInterface */ |
||
21 | $authAdapter = $serviceLocator->get('ZfcUser\Authentication\Adapter\AdapterChain'); |
||
22 | |||
23 | return new AuthenticationService( |
||
24 | $authStorage, |
||
25 | $authAdapter |
||
26 | ); |
||
27 | } |
||
28 | } |
||
29 |