public function TraceableControllerResolver::getArguments in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Controller/TraceableControllerResolver.php \Symfony\Component\HttpKernel\Controller\TraceableControllerResolver::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
Overrides ControllerResolverInterface::getArguments
File
- vendor/
symfony/ http-kernel/ Controller/ TraceableControllerResolver.php, line 56
Class
- TraceableControllerResolver
- TraceableControllerResolver.
Namespace
Symfony\Component\HttpKernel\ControllerCode
public function getArguments(Request $request, $controller) {
$e = $this->stopwatch
->start('controller.get_arguments');
$ret = $this->resolver
->getArguments($request, $controller);
$e
->stop();
return $ret;
}