You are here

public function CacheCollectorInterface::get in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 35
Contains \Drupal\Core\Cache\CacheCollectorInterface.

Class

CacheCollectorInterface
Provides a caching wrapper to be used in place of large structures.

Namespace

Drupal\Core\Cache

Code

public function get($key);