Returns the arguments to pass to the controller.
@api
Parameters
Request $request A Request instance:
mixed $controller A PHP callable:
Return value
array An array of arguments to pass to the controller
Throws
\RuntimeException When value for argument given is not provided
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Controller/ControllerResolverInterface.php, line 62
Class
- ControllerResolverInterface
- A ControllerResolverInterface implementation knows how to determine the
controller to execute based on a Request object.
Namespace
Symfony\Component\HttpKernel\Controller
Code
public function getArguments(Request $request, $controller);