예제 #1
0
파일: Router.php 프로젝트: websitetest/c9
 public function matchRequest(Request $request)
 {
     if (!$this->matcher instanceof RouteMatcherInterface) {
         throw new LogicException('The Router has no route matcher, Router needs a RouteMatcherInterface instance');
     }
     return $this->matcher->match($request->pathInfo());
 }
예제 #2
0
파일: AppCore.php 프로젝트: websitetest/c9
 public function handleRequest(Request $request)
 {
     echo $request->pathInfo();
 }