public function delete(SubscriptionSection $section) { $em = $this->getEntityManager(); $em->remove($section); }