Hoa central
Kit.php
Go to the documentation of this file.
1 <?php
2 
37 namespace Hoa\Dispatcher;
38 
39 use Hoa\Router;
40 use Hoa\View;
41 
50 class Kit
51 {
57  public $router = null;
58 
64  public $dispatcher = null;
65 
71  public $view = null;
72 
78  public $data = null;
79 
80 
81 
90  public function __construct(
93  View\Viewable $view = null
94  ) {
95  $this->router = $router;
96  $this->dispatcher = $dispatcher;
97  $this->view = $view;
98 
99  if (null !== $view) {
100  $this->data = $view->getData();
101  }
102 
103  return;
104  }
105 
111  public function construct()
112  {
113  return;
114  }
115 }
__construct(Router $router, Dispatcher $dispatcher, View\Viewable $view=null)
Definition: Kit.php:90