/** * Automatically executed after the task action. * * @return void */ protected function after() { if ($this->auto_render === TRUE and $this->template instanceof View) { // Render and display template CLI::write($this->template->render()); } parent::after(); }