getCallable() public method

public getCallable ( $method, $uri )
Example #1
0
 /**
  * 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);
 }