Creates & Exposes Doctrine2 Register Service for Zend Framework 2 as a Module (ManagerRegistry)
"require" : {
"eddiejaoude/zf2-doctrine2-Manager-registry-service" : "0.*"
}
...
'modules' => array(
'EddieJaoude\Zf2Doctrine2ManagerRegistryService',
),
...
Then you are good to go. All requests & responses will be logged.
On the service manager, get the ManagerRegistry
$serviceManager->get('Doctrine\ManagerRegistry');
To run unit tests from the root of the project
vendor/bin/phpunit -c tests/phpunit.xml
- Github https://github.com/eddiejaoude/zf2-doctrine2-manager-registry-service
- Packagist https://packagist.org/packages/eddiejaoude/zf2-doctrine2-manager-registry-service
- Coveralls https://coveralls.io/r/eddiejaoude/zf2-doctrine2-manager-registry-service