src/Budkit/Routing/Controller.php
protected function loadView($view, $values = [])
    {


        if (isset($this->application[$view])) {
            return $this->application[$view];
        }

        $instance = $this->application->createInstance($view, [$values, $this->response, $this->getHandler()]);

        //Otherwise return an instance of Controller;
        return $this->application->shareInstance($instance, $view);
    }
protected function loadView($view, $values = [])
    {


        if (isset($this->application[$view])) {
            return $this->application[$view];
        }

        $instance = $this->application->createInstance($view, [$values, $this->response, $this->getHandler()]);

        //Otherwise return an instance of Controller;
        return $this->application->shareInstance($instance, $view);
    }
protected function loadView ( $ view , $ values = [ ] ) { if ( isset ( $ this -> application [ $ view ] ) ) { return $ this -> application [ $ view ] ; } $ instance = $ this -> application -> createInstance ( $ view , [ $ values , $ this -> response , $ this -> getHandler ( ) ] ) ; //Otherwise return an instance of Controller; return $ this -> application -> shareInstance ( $ instance , $ view ) ; }
Loads a view from classname;

@param string $view

@return void
@author Livingstone Fultang
Loads a view from classname ;