public function view($view, $data = [])
    {
        $viewPath = self::$instance->app->findView($view);
        echo self::$instance->renderView($viewPath, $data);
    }
public function view($view, $data = [])
    {
        $viewPath = self::$instance->app->findView($view);
        echo self::$instance->renderView($viewPath, $data);
    }
public function view ( $ view , $ data = [ ] ) { $ viewPath = self :: $ instance -> app -> findView ( $ view ) ; echo self :: $ instance -> renderView ( $ viewPath , $ data ) ; }
Display View.

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

@return void
Display View .