'service_manager' => array (
'invokables' => array (
'AuthorizationIbmi' => 'authorization.php',
),
'factories' => array(
'dbadapter' => function($sm) {
// DB adapter config
},
'tkconn' => function ($sm) {
$dbAdapter = $sm->get('dbadapter');
$dbAdapter->getDriver()->getConnection()->connect();
$conn = $dbAdapter->getDriver()->getConnection()->getResource();
$tk = new PgmCall\Module($conn);
return $tk;
)
)
}
),