public function HttpCacheTestCase::setNextResponse in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTestCase.php \Symfony\Component\HttpKernel\Tests\HttpCache\HttpCacheTestCase::setNextResponse()
49 calls to HttpCacheTestCase::setNextResponse()
- HttpCacheTest::testAssignsDefaultTtlWhenResponseHasNoFreshnessInformation in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php - HttpCacheTest::testAssignsDefaultTtlWhenResponseHasNoFreshnessInformationAndAfterTtlWasExpired in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php - HttpCacheTest::testAssignsDefaultTtlWhenResponseHasNoFreshnessInformationAndAfterTtlWasExpiredWithStatus304 in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php - HttpCacheTest::testCachesResponsesWithALastModifiedValidatorButNoFreshnessInformation in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php - HttpCacheTest::testCachesResponsesWithAMaxAgeDirective in vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTest.php
File
- vendor/
symfony/ http-kernel/ Tests/ HttpCache/ HttpCacheTestCase.php, line 139
Class
Namespace
Symfony\Component\HttpKernel\Tests\HttpCacheCode
public function setNextResponse($statusCode = 200, array $headers = array(), $body = 'Hello World', \Closure $customizer = null) {
$this->kernel = new TestHttpKernel($body, $statusCode, $headers, $customizer);
}