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