class TestMemoryBackend in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php \Drupal\Tests\Core\Asset\TestMemoryBackend
Hierarchy
- class \Drupal\Core\Cache\MemoryBackend implements CacheBackendInterface, CacheTagsInvalidatorInterface
- class \Drupal\Tests\Core\Asset\TestMemoryBackend
Expanded class hierarchy of TestMemoryBackend
File
- core/
tests/ Drupal/ Tests/ Core/ Asset/ AssetResolverTest.php, line 164 - Contains \Drupal\Tests\Core\Asset\AssetResolverTest.
Namespace
Drupal\Tests\Core\AssetView source
class TestMemoryBackend extends MemoryBackend {
public function getAllCids() {
return array_keys($this->cache);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheBackendInterface:: |
constant | Indicates that the item should never be removed unless explicitly deleted. | ||
MemoryBackend:: |
protected | property | Array to store cache objects. | |
MemoryBackend:: |
public | function |
Deletes an item from the cache. Overrides CacheBackendInterface:: |
1 |
MemoryBackend:: |
public | function |
Deletes all cache items in a bin. Overrides CacheBackendInterface:: |
|
MemoryBackend:: |
public | function |
Deletes multiple items from the cache. Overrides CacheBackendInterface:: |
|
MemoryBackend:: |
public | function |
Performs garbage collection on a cache bin. Overrides CacheBackendInterface:: |
|
MemoryBackend:: |
public | function |
Returns data from the persistent cache. Overrides CacheBackendInterface:: |
1 |
MemoryBackend:: |
public | function |
Returns data from the persistent cache when given an array of cache IDs. Overrides CacheBackendInterface:: |
|
MemoryBackend:: |
protected | function | Wrapper method for REQUEST_TIME constant. | |
MemoryBackend:: |
public | function |
Marks a cache item as invalid. Overrides CacheBackendInterface:: |
|
MemoryBackend:: |
public | function |
Marks all cache items as invalid. Overrides CacheBackendInterface:: |
|
MemoryBackend:: |
public | function |
Marks cache items as invalid. Overrides CacheBackendInterface:: |
|
MemoryBackend:: |
public | function |
Marks cache items with any of the specified tags as invalid. Overrides CacheTagsInvalidatorInterface:: |
|
MemoryBackend:: |
protected | function | Prepares a cached item. | |
MemoryBackend:: |
public | function |
Remove a cache bin. Overrides CacheBackendInterface:: |
|
MemoryBackend:: |
public | function | Reset statically cached variables. | |
MemoryBackend:: |
public | function |
Stores data in the persistent cache. Overrides CacheBackendInterface:: |
1 |
MemoryBackend:: |
public | function |
Store multiple items in the persistent cache. Overrides CacheBackendInterface:: |
|
MemoryBackend:: |
public | function | Constructs a MemoryBackend object. | |
MemoryBackend:: |
public | function | Prevents data stored in memory backends from being serialized. | |
TestMemoryBackend:: |
public | function |