public function getViewEngine()
    {
        if($this->app->exists(ViewEngineInterface::class)) {
            return $this->app->get(ViewEngineInterface::class);
        }
        $view = View::forge($this->web->view_dir);
        $this->app->set(ViewEngineInterface::class, $view, true);
        return $view;
    }
public function getViewEngine()
    {
        if($this->app->exists(ViewEngineInterface::class)) {
            return $this->app->get(ViewEngineInterface::class);
        }
        $view = View::forge($this->web->view_dir);
        $this->app->set(ViewEngineInterface::class, $view, true);
        return $view;
    }
public function getViewEngine ( ) { if ( $ this -> app -> exists ( ViewEngineInterface :: class ) ) { return $ this -> app -> get ( ViewEngineInterface :: class ) ; } $ view = View :: forge ( $ this -> web -> view_dir ) ; $ this -> app -> set ( ViewEngineInterface :: class , $ view , true ) ; return $ view ; }
get shared view engine, Renderer as default.

@return ViewEngineInterface|View
get shared view engine Renderer as default .