You are here

public function CacheRawBackendInterface::get in Supercache 2.0.x

Same name and namespace in other branches
  1. 8 src/Cache/CacheRawBackendInterface.php \Drupal\supercache\Cache\CacheRawBackendInterface::get()

Returns data from the persistent cache.

Parameters

string $cid: The cache ID of the data to retrieve.

Return value

object|false The cache item or FALSE on failure.

See also

\Drupal\Core\Cache\CacheRawBackendInterface::getMultiple()

3 methods override CacheRawBackendInterface::get()
ApcuRawBackend::get in src/Cache/ApcuRawBackend.php
Returns data from the persistent cache.
ChainedFastRawBackend::get in src/Cache/ChainedFastRawBackend.php
Returns data from the persistent cache.
DatabaseRawBackend::get in src/Cache/DatabaseRawBackend.php
Returns data from the persistent cache.

File

src/Cache/CacheRawBackendInterface.php, line 39
Contains \Drupal\supercache\Cache\CacheRawBackendInterface.

Class

CacheRawBackendInterface
Defines an interface for cache implementations.

Namespace

Drupal\supercache\Cache

Code

public function get($cid);