classe controller

Codice PHP:
<?php

class Controller {

    private 
$view;
    
    function 
__construct() {
        
$this->view = new View();
    }

    public function 
getView() {
        return 
$this->view;
    }
    
}