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