public function getBlockResponse(&$block) { if (!is_object($block['call'][0])) { $block['call'][0] = $this->application->getControllerInstance($block['call'][0]); } // pass the name of the current block container if ($block['call'][0] instanceof Controller) { $block['call'][0]->setBlockName($this->getBlockName()); $block['call'][0]->setParentController($this); } return $this->application->execute($block['call'][0], $block['call'][1], true); }