jorisdejong85/Ultrablog — Issue #1: Make Controller->saveEntity
Author: rudiedirkx
Created: 2012-01-06 12:35:00+00:00
State: open

Controller->saveEntity( $entity, $flush = true )

which saves a lot of verbose writing:

$em = $this->getDoctrine()->getEntityManager();
$em->persist($post);
$em->flush();