I am trying to update a user ( entity name is user ) using doctrine but i can not find a method in the EntityManager class that could do the work.
I have found the methods persist() , remove(), find()... but nothing about update or edit.
Is there something I'm missing or should I just use the createQuery() method?