Use Doctrine Connection instead of array of config attributes