AgaviDoctrineDatabase first prototype, refs #381. This will connect to doctrine for you automatically (lazy connecting!) and hopefully also manages multiple connections. getDoctrineManager() gives the manager, getResource() gives the PDO connection, getConnection() will give the doctrine connection object. The latter two cause doctrine to connect. connect() does nothing. Enjoy. Table/Connection mapping is coming next. Add "Doctrine" class to your autoload.xml for maximum pleasure.