Symfony\Component\HttpKernel\Controller\ControllerResolverInterface::getArguments
Returns the arguments to pass to the controller.
Signature
public function getArguments(Request
$request,
mixed
$controller )
Parameters
$request
— Symfony\Component\HttpFoundation\Request- A Request instance
$controller
— mixed- A PHP callable
Returns
- array
- An array of arguments to pass to the controller
Errors/Exceptions
-
RuntimeException
- When value for argument given is not provided