| Conditions | 3 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
| 15 | { |
||
| 16 | $config = $serviceLocator->get('Config'); |
||
| 17 | |||
| 18 | $authAccounts = []; |
||
| 19 | if (isset($config['auth-accounts']) && is_array($config['auth-accounts'])) { |
||
| 20 | $authAccounts = $config['auth-accounts']; |
||
| 21 | } |
||
| 22 | |||
| 23 | return new PhpArray($authAccounts); |
||
| 24 | } |
||
| 25 | } |
||
| 26 |