Ejemplo n.º 1
0
 /**
  * @param BlockInterface $block
  */
 public function remove(BlockInterface $block, $draft = true)
 {
     $block->setDraft($draft);
     $this->em->remove($block);
     $this->em->flush($block);
 }