A CacheCollector implementation for building library extension info.
Hierarchy
- class \Drupal\Core\Cache\CacheCollector implements CacheCollectorInterface, DestructableInterface
- class \Drupal\Core\Asset\LibraryDiscoveryCollector
File
- core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php, line 16
Namespace
Drupal\Core\Asset
Members
Name | Modifiers | Type | Description |
---|---|---|---|
CacheCollector::$cache | protected | property | The cache backend that should be used. |
CacheCollector::$cacheCreated | protected | property | Stores the cache creation time. |
CacheCollector::$cacheInvalidated | protected | property | Flag that indicates of the cache has been invalidated. |
CacheCollector::$cacheLoaded | protected | property | Indicates if the collected cache was already loaded. |
CacheCollector::$cid | protected | property | The cache id that is used for the cache entry. |
CacheCollector::$keysToPersist | protected | property | An array of keys to add to the cache on service termination. |
CacheCollector::$keysToRemove | protected | property | An array of keys to remove from the cache on service termination. |
CacheCollector::$lock | protected | property | The lock backend that should be used. |
CacheCollector::$storage | protected | property | Storage for the data itself. |
CacheCollector::$tags | protected | property | A list of tags that are used for the cache entry. |
CacheCollector::clear | public | function | Clears the collected cache entry. Overrides CacheCollectorInterface::clear |
CacheCollector::delete | public | function | Deletes the element. Overrides CacheCollectorInterface::delete |
CacheCollector::destruct | public | function | Performs destruct operations. Overrides DestructableInterface::destruct |
CacheCollector::get | public | function | Gets value from the cache. Overrides CacheCollectorInterface::get |
CacheCollector::has | public | function | Returns whether data exists for this key. Overrides CacheCollectorInterface::has |
CacheCollector::invalidateCache | protected | function | Invalidate the cache. |
CacheCollector::lazyLoadCache | protected | function | Loads the cache if not already done. |
CacheCollector::normalizeLockName | protected | function | Normalizes a cache ID in order to comply with database limitations. |
CacheCollector::persist | protected | function | Flags an offset value to be written to the persistent cache. |
CacheCollector::set | public | function | Implements \Drupal\Core\Cache\CacheCollectorInterface::set(). Overrides CacheCollectorInterface::set |
CacheCollector::updateCache | protected | function | Writes a value to the persistent cache immediately. |
LibraryDiscoveryCollector::$discoveryParser | protected | property | The library discovery parser. |
LibraryDiscoveryCollector::$themeManager | protected | property | The theme manager. |
LibraryDiscoveryCollector::applyLibrariesExtend | protected | function | Applies the libraries-extend specified by the active theme. |
LibraryDiscoveryCollector::getCid | protected | function | Gets the cache ID. Overrides CacheCollector::getCid |
LibraryDiscoveryCollector::getLibraryDefinitions | protected | function | Returns the library definitions for a given extension. |
LibraryDiscoveryCollector::reset | public | function | Resets the local cache. Overrides CacheCollector::reset |
LibraryDiscoveryCollector::resolveCacheMiss | protected | function | Resolves a cache miss. Overrides CacheCollector::resolveCacheMiss |
LibraryDiscoveryCollector::__construct | public | function | Constructs a CacheCollector object. Overrides CacheCollector::__construct |
Please login to continue.