Doctrine configuration