/** * Renders the view. * * @throws \Exception * @return string The rendered output. */ public function render() { return $this->renderer->render($this->file, $this->data); }