public mixed increment ([string | int $keyName], [int $value]) Increment of a given key, by number $value
public long decrement ([string $keyName], [long $value]) Decrement of $keyName by given $value
public getKey (mixed $key) Return a file-system safe identifier for a given key
public save ([int | string $keyName], [string $content], [int $lifetime], [boolean $stopBuffer]) Stores cached content into the file backend and stops the frontend
public array queryKeys ([string | int $prefix]) Query the existing cached keys
extends abstract class Phalcon\Cache\Backend implements Phalcon\Cache\BackendInterface Source on GitHub Allows to cache output fragments, PHP data or raw data to a libmemcached backend. Per default persistent memcached connection pools are used. use Phalcon\Cache\Backend\Libmemcached; use Phalcon\Cache\Frontend\Data as FrontData; // Cache data for 2 days $frontCache = new FrontData([ 'lifetime' => 172800 ]); // Create the Cache setting memcached connection options $cache = new L
public mixed decrement ([string | int $keyName], [int $value]) Decrement of a given key, by number $value
public get (mixed $keyName, [mixed $lifetime]) Returns a cached content
public flush () Immediately invalidates all existing items.
public boolean delete (int | string $keyName) Deletes a value from the cache by its key
Page 354 of 382