CacheableTestResponse.php

Same filename and directory in other branches
  1. 8.9.x core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestResponse.php
  2. 10 core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestResponse.php
  3. 11.x core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestResponse.php

Namespace

Drupal\early_rendering_controller_test

File

core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestResponse.php

View source
<?php

namespace Drupal\early_rendering_controller_test;

use Drupal\Core\Cache\CacheableResponseInterface;
use Drupal\Core\Cache\CacheableResponseTrait;
use Symfony\Component\HttpFoundation\Response;
class CacheableTestResponse extends Response implements CacheableResponseInterface {
    use CacheableResponseTrait;

}

Classes

Title Deprecated Summary
CacheableTestResponse

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.