Example #1
0
 public function controller($name, $controller, Mapper $mapper)
 {
     $this->router->addController($name, $controller);
     $this->router->addMapper($mapper);
 }