original_string: protected function finishBlockView(BlockView $view, $id)
      {
          $blockType = $this->rawLayout->getProperty($id, RawLayout::BLOCK_TYPE, true);
          $types     = $this->typeHelper->getTypes($blockType);
  
          // point the block view state to the current block
          $this->block->initialize($id);
          // finish the view
          foreach ($types as $type) {
              $type->finishView($view, $this->block);
              $this->registry->finishView($type->getName(), $view, $this->block);
          }
      }
code: protected function finishBlockView(BlockView $view, $id)
      {
          $blockType = $this->rawLayout->getProperty($id, RawLayout::BLOCK_TYPE, true);
          $types     = $this->typeHelper->getTypes($blockType);
  
          // point the block view state to the current block
          $this->block->initialize($id);
          // finish the view
          foreach ($types as $type) {
              $type->finishView($view, $this->block);
              $this->registry->finishView($type->getName(), $view, $this->block);
          }
      }
code_tokens: protected function finishBlockView ( BlockView $ view , $ id ) { $ blockType = $ this -> rawLayout -> getProperty ( $ id , RawLayout :: BLOCK_TYPE , true ) ; $ types = $ this -> typeHelper -> getTypes ( $ blockType ) ; // point the block view state to the current block $ this -> block -> initialize ( $ id ) ; // finish the view foreach ( $ types as $ type ) { $ type -> finishView ( $ view , $ this -> block ) ; $ this -> registry -> finishView ( $ type -> getName ( ) , $ view , $ this -> block ) ; } }
docstring: Finishes the building of the block view
  
  @param BlockView $view
  @param string    $id
docstring_tokens: Finishes the building of the block view