public function TestMultipleHttpKernel::getArguments in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/http-kernel/Tests/HttpCache/TestMultipleHttpKernel.php \Symfony\Component\HttpKernel\Tests\HttpCache\TestMultipleHttpKernel::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/ Tests/ HttpCache/ TestMultipleHttpKernel.php, line 57
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function getArguments(Request $request, $controller) {
return array(
$request,
);
}