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