RoutePreloaderTest::$cache

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php \Drupal\Tests\Core\Routing\RoutePreloaderTest::cache

The mocked cache.

Type: \Drupal\Core\Cache\CacheBackendInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php, line 44

Class

RoutePreloaderTest
@coversDefaultClass \Drupal\Core\Routing\RoutePreloader @group Routing

Namespace

Drupal\Tests\Core\Routing

Code

protected $cache;

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