Skip to content

Commit

Permalink
fixes missing Zend\Db\Adapter\Adapter register for doctrine support
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Nov 20, 2016
1 parent 8150356 commit a9b8976
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ public function convertDoctrineToZendDbConfig(ModuleEvent $event)
'port' => $doctrineDBALConnection->getPort()
];

$configuration['service_manager']['factories']['Zend\Db\Adapter\Adapter'] = 'Zend\Db\Adapter\AdapterServiceFactory';

$configListener->setMergedConfig($configuration);
$event->setConfigListener($configListener);

Expand Down

0 comments on commit a9b8976

Please sign in to comment.