Doctrine generic actions for entity management