Utils config for doctrine