code: public function removeBlockInArea($blockId, $areaName, $nodeId, $siteId, $language, $version)
      {
          $qb = $this->createQueryBuilder();
          $qb->updateMany()
              ->field('nodeId')->equals($nodeId)
              ->field('siteId')->equals($siteId)
              ->field('language')->equals($language)
              ->field('version')->equals($version)
              ->field('areas.'.$areaName.'.blocks.$id')->equals(new \MongoId($blockId))
              ->field('areas.'.$areaName.'.blocks')->pull(array('$id' => new \MongoId($blockId)))
              ->getQuery()
              ->execute();
      }
docs: @param string  $blockId
  @param string  $areaName
  @param string  $nodeId
  @param string  $siteId
  @param string  $language
  @param string  $version
  
  @throws \Doctrine\ODM\MongoDB\MongoDBException