protected function registerViews()
    {
        $path      = $this->getBasePath() . '/' . $this->convention->viewsFolder();
        $namespace = $this->config('views.namespace', $this->shortName());

        if (is_dir($path)) {
            $this->loadViewsFrom($path, $namespace);
        }
    }
protected function registerViews()
    {
        $path      = $this->getBasePath() . '/' . $this->convention->viewsFolder();
        $namespace = $this->config('views.namespace', $this->shortName());

        if (is_dir($path)) {
            $this->loadViewsFrom($path, $namespace);
        }
    }
protected function registerViews ( ) { $ path = $ this -> getBasePath ( ) . '/' . $ this -> convention -> viewsFolder ( ) ; $ namespace = $ this -> config ( 'views.namespace' , $ this -> shortName ( ) ) ; if ( is_dir ( $ path ) ) { $ this -> loadViewsFrom ( $ path , $ namespace ) ; } }
Register the views folder, in a separate namespace
Register the views folder in a separate namespace