Doctrine - Accidental persistence example