function render($render_stream = true) { if (!isset($this->content)) { $method = "dump__{$this->format}"; $this->variables['body'] = $this->app->{$method}($this->data); return parent::render($render_stream); } return $this->content; }