|
<?php
namespace daswork;
use daswork\View;
class Controller
{
protected $view;
public function __construct(){
$this->view = new View();
}
public function fetch($file = ""){
return $this->view->fetch($file);
}
public function assign($name,$value)
{
return $this->view->assign($name,$value);
}
}
|