You are here

public function Cache::fetch in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/cache/lib/Doctrine/Common/Cache/Cache.php \Doctrine\Common\Cache\Cache::fetch()

Fetches an entry from the cache.

Parameters

string $id The id of the cache entry to fetch.:

Return value

mixed The cached data or FALSE, if no cache entry exists for the given id.

1 method overrides Cache::fetch()
CacheProvider::fetch in vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
Fetches an entry from the cache.

File

vendor/doctrine/cache/lib/Doctrine/Common/Cache/Cache.php, line 55

Class

Cache
Interface for cache drivers.

Namespace

Doctrine\Common\Cache

Code

public function fetch($id);