protected function getCallable(Request $request)
    {
        $method = $request->getMethod();
        $uri = $request->getPathInfo();

        return $this->router->getCallable($method, $uri);
    }
protected function getCallable(Request $request)
    {
        $method = $request->getMethod();
        $uri = $request->getPathInfo();

        return $this->router->getCallable($method, $uri);
    }
protected function getCallable ( Request $ request ) { $ method = $ request -> getMethod ( ) ; $ uri = $ request -> getPathInfo ( ) ; return $ this -> router -> getCallable ( $ method , $ uri ) ; }
Get the class of the controller to be executed.

@param \Symfony\Component\HttpFoundation\Request $request
@return string
Get the class of the controller to be executed .