protected function setControllerView()
    {
        if (View::exists($this->className)) {
            $this->controllerView = new View($this->className);
        } else {
            $this->controllerView = new View\Template('{@content}');
        }
    }
protected function setControllerView()
    {
        if (View::exists($this->className)) {
            $this->controllerView = new View($this->className);
        } else {
            $this->controllerView = new View\Template('{@content}');
        }
    }
protected function setControllerView ( ) { if ( View :: exists ( $ this -> className ) ) { $ this -> controllerView = new View ( $ this -> className ) ; } else { $ this -> controllerView = new View \ Template ( '{@content}' ) ; } }
Set the view that this controller should use.
Set the view that this controller should use .