public function template($template, $data = [])
    {
        $templatePath = self::$instance->app->findTemplate($template);
        echo self::$instance->renderTemplate($templatePath, $data);
    }
public function template($template, $data = [])
    {
        $templatePath = self::$instance->app->findTemplate($template);
        echo self::$instance->renderTemplate($templatePath, $data);
    }
public function template ( $ template , $ data = [ ] ) { $ templatePath = self :: $ instance -> app -> findTemplate ( $ template ) ; echo self :: $ instance -> renderTemplate ( $ templatePath , $ data ) ; }
Display Template.

@param  string   $view  Template to use for rendering
@param  string   $data  Arguments to use

@return void
Display Template .