Persistence in PHP with Doctrine ORM