FOF30\Controller\Controller::setView PHP Method

setView() public method

Pushes a named view to the Controller
public setView ( string $viewName, View &$view ) : void
$viewName string The name of the View
$view FOF30\View\View The actual View object to push
return void
    public function setView($viewName, View &$view)
    {
        $this->viewInstances[$viewName] = $view;
    }