| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
| 19 | { |
||
| 20 | if ($serviceLocator instanceof AbstractPluginManager) { |
||
| 21 | $serviceLocator = $serviceLocator->getServiceLocator(); |
||
| 22 | } |
||
| 23 | |||
| 24 | $tableGateway = $serviceLocator->get('T4web\Migrations\Version\TableGateway'); |
||
| 25 | |||
| 26 | return new Table($tableGateway); |
||
| 27 | } |
||
| 28 | } |
||
| 29 |