示例#1
0
 protected function dispatch(Request $request)
 {
     $method = $request->getMethod();
     $pathInfo = substr($request->getPathInfo(), strlen($this->basePath));
     return $this->handleDispatcherResponse($this->getDispatcher()->dispatch($method, $pathInfo), $request);
 }