Doctrine driver factory