예제 #1
0
파일: BlockManager.php 프로젝트: Opifer/Cms
 /**
  * @param BlockInterface $block
  */
 public function remove(BlockInterface $block, $draft = true)
 {
     $block->setDraft($draft);
     $this->em->remove($block);
     $this->em->flush($block);
 }