/** * Get the class of the controller to be executed. * * @param \Symfony\Component\HttpFoundation\Request $request * @return string */ protected function getCallable(Request $request) { $method = $request->getMethod(); $uri = $request->getPathInfo(); return $this->router->getCallable($method, $uri); }