public function ControllerResolverInterface::getArguments in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Controller/ControllerResolverInterface.php \Symfony\Component\HttpKernel\Controller\ControllerResolverInterface::getArguments()
Returns the arguments to pass to the controller.
Parameters
Request $request A Request instance:
callable $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
5 methods override ControllerResolverInterface::getArguments()
- ControllerResolver::getArguments in vendor/
symfony/ http-kernel/ Controller/ ControllerResolver.php - Returns the arguments to pass to the controller.
- TestHttpKernel::getArguments in vendor/
symfony/ http-kernel/ Tests/ TestHttpKernel.php - Returns the arguments to pass to the controller.
- TestHttpKernel::getArguments in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ TestHttpKernel.php - Returns the arguments to pass to the controller.
- TestMultipleHttpKernel::getArguments in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ TestMultipleHttpKernel.php - Returns the arguments to pass to the controller.
- TraceableControllerResolver::getArguments in vendor/
symfony/ http-kernel/ Controller/ TraceableControllerResolver.php - Returns the arguments to pass to the controller.
File
- vendor/
symfony/ http-kernel/ Controller/ ControllerResolverInterface.php, line 56
Class
- ControllerResolverInterface
- A ControllerResolverInterface implementation knows how to determine the controller to execute based on a Request object.
Namespace
Symfony\Component\HttpKernel\ControllerCode
public function getArguments(Request $request, $controller);