public function display($view, $params = [])
    {
        $CI =& get_instance();
        $CI->output->set_output($this->render($view, $params));
    }
public function display($view, $params = [])
    {
        $CI =& get_instance();
        $CI->output->set_output($this->render($view, $params));
    }
public function display ( $ view , $ params = [ ] ) { $ CI = & get_instance ( ) ; $ CI -> output -> set_output ( $ this -> render ( $ view , $ params ) ) ; }
Renders Twig Template and Set Output

@param string $view   Template filename without `.twig`
@param array  $params Array of parameters to pass to the template
Renders Twig Template and Set Output