Doctrine model snippet