public function run() { $block = ob_get_clean(); if ($this->renderInPlace) { echo $block; } $this->view->blocks[$this->getId()] = $block; }