You are here

abstract protected function CacheProvider::doSave in Zircon Profile 8

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

Puts data into the cache.

Parameters

string $id The cache id.:

string $data The cache entry/data.:

int $lifeTime The lifetime. If != 0, sets a specific lifetime for this: cache entry (0 => infinite lifeTime).

Return value

boolean TRUE if the entry was successfully stored in the cache, FALSE otherwise.

3 calls to CacheProvider::doSave()
CacheProvider::deleteAll in vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
Deletes all cache entries in the current cache namespace.
CacheProvider::getNamespaceVersion in vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
Returns the namespace version.
CacheProvider::save in vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
Puts data into the cache.
17 methods override CacheProvider::doSave()
ApcCache::doSave in vendor/doctrine/cache/lib/Doctrine/Common/Cache/ApcCache.php
Puts data into the cache.
ArrayCache::doSave in vendor/doctrine/cache/lib/Doctrine/Common/Cache/ArrayCache.php
Puts data into the cache.
ChainCache::doSave in vendor/doctrine/cache/lib/Doctrine/Common/Cache/ChainCache.php
Puts data into the cache.
CouchbaseCache::doSave in vendor/doctrine/cache/lib/Doctrine/Common/Cache/CouchbaseCache.php
Puts data into the cache.
FilesystemCache::doSave in vendor/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php
Puts data into the cache.

... See full list

File

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

Class

CacheProvider
Base class for cache provider implementations.

Namespace

Doctrine\Common\Cache

Code

protected abstract function doSave($id, $data, $lifeTime = 0);