예제 #1
0
파일: Matcher.php 프로젝트: slince/routing
 /**
  * 处理路由参数
  * @param RouteInterface $route
  * @return array
  */
 protected function getRouteParameters(RouteInterface $route)
 {
     return array_replace($route->getDefaults(), $route->getParameter('_hostMatches', []), $route->getParameter('_pathMatches', []));
 }