You are here

public function TestMultipleHttpKernel::callController 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::callController()

File

vendor/symfony/http-kernel/Tests/HttpCache/TestMultipleHttpKernel.php, line 62

Class

TestMultipleHttpKernel

Namespace

Symfony\Component\HttpKernel\Tests\HttpCache

Code

public function callController(Request $request) {
  $this->called = true;
  $response = new Response(array_shift($this->bodies), array_shift($this->statuses), array_shift($this->headers));
  return $response;
}