PhpBackendTest.php in Drupal 8
File
core/tests/Drupal/KernelTests/Core/Cache/PhpBackendTest.php
View source
<?php
namespace Drupal\KernelTests\Core\Cache;
use Drupal\Core\Cache\PhpBackend;
class PhpBackendTest extends GenericCacheBackendUnitTestBase {
protected function createCacheBackend($bin) {
$backend = new PhpBackend($bin, \Drupal::service('cache_tags.invalidator.checksum'));
return $backend;
}
}
Classes
Name |
Description |
PhpBackendTest |
Unit test of the PHP cache backend using the generic cache unit test base. |