code: public function run()
      {
          $block = ob_get_clean();
          if ($this->renderInPlace) {
              echo $block;
          }
          $this->view->blocks[$this->getId()] = $block;
      }
docs: Ends recording a block.
  This method stops output buffering and saves the rendering result as a named block in the view.