Example #1
0
 /**
  * set the route
  *
  * @param  methods
  * @param  uri
  */
 public function setRoute($methods, $uri, $method)
 {
     $this->route = \Route::getInstance();
     $this->route->setMethods($methods);
     $this->route->setCurrentMethod($method);
     $this->route->setUri($uri);
 }