예제 #1
0
파일: Router.php 프로젝트: rougin/slytherin
 /**
  * Returns a listing of routes available.
  *
  * @return callable
  */
 public function getRoutes()
 {
     foreach ($this->routes as $route) {
         $this->collector->addRoute($route[0], $route[1], $route[2]);
     }
     return $this->collector->getData();
 }