Ok, not sure how i could've overlooked this, but in global.php one can simply
adjust the service_manager array like this:

    'service_manager' => array(
        'factories' => array(
            // [...]
            'MyCustom\Db\Adapter\Adapter'
                    => 'MyCustom\Db\Adapter\AdapterServiceFactory',
        ),
    ),



--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-How-to-use-custom-db-adpater-How-to-log-database-queries-tp4659302p4659310.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to