Creates a new instance of MemoryBackend.
Return value
A new MemoryBackend object.
Overrides GenericCacheBackendUnitTestBase::createCacheBackend
File
- drupal/core/modules/system/lib/Drupal/system/Tests/Cache/MemoryBackendUnitTest.php, line 31
- Definition of Drupal\system\Tests\Cache\MemoryBackendUnitTest.
Class
- MemoryBackendUnitTest
- Tests MemoryBackend using GenericCacheBackendUnitTestBase.
Namespace
Drupal\system\Tests\Cache
Code
protected function createCacheBackend($bin) {
return new MemoryBackend($bin);
}