How to use multiple versions at the same time in an Apigility app with Doctrine?
问题 Context first: Apigility driven application based on Zend Framework 2. In the first version ( V1 ) I was using the ZfcBase DbMapper for the model layer. Now I'm implementing the V2 with Doctrine 2 as ORM. Apigility provides an easy switching between versions and every version can use its own DB adapter: /config/autoload/global.php / /config/autoload/local.php <?php return array( ... 'db' => array( 'adapters' => array( 'DB\\myproject_v1' => array( // settings (driver, hostname, database,