You are here

public function TestMultipleHttpKernel::getArguments in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

TestMultipleHttpKernel

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function getArguments(Request $request, $controller) {
  return array(
    $request,
  );
}