Example #1
0
 public function __construct(Manager_Storage $storage)
 {
     $this->view = new Manager_View();
     $this->request = Manager_Request::getInstance();
     $this->out = array();
     $this->storage = $storage;
 }
Example #2
0
 public static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new self();
     }
     return self::$instance;
 }