public function remove(Folder $entity)
    {
        $this->em->remove($entity);
        $this->em->flush();
    }
public function remove(Folder $entity)
    {
        $this->em->remove($entity);
        $this->em->flush();
    }
public function remove ( Folder $ entity ) { $ this -> em -> remove ( $ entity ) ; $ this -> em -> flush ( ) ; }
Remove entity.

@todo проверку зависимостей от нод и папок.
Remove entity .