public function CacheCollectorInterface::get in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Cache/CacheCollectorInterface.php \Drupal\Core\Cache\CacheCollectorInterface::get()
- 9 core/lib/Drupal/Core/Cache/CacheCollectorInterface.php \Drupal\Core\Cache\CacheCollectorInterface::get()
Gets value from the cache.
Parameters
string $key: Key that identifies the data.
Return value
mixed The corresponding cache data.
1 method overrides CacheCollectorInterface::get()
- CacheCollector::get in core/
lib/ Drupal/ Core/ Cache/ CacheCollector.php - Gets value from the cache.
File
- core/
lib/ Drupal/ Core/ Cache/ CacheCollectorInterface.php, line 30
Class
- CacheCollectorInterface
- Provides a caching wrapper to be used in place of large structures.
Namespace
Drupal\Core\CacheCode
public function get($key);