42 const KEY_SUFFIX =
':3';
44 protected function doGet( $key, $flags = 0, &$casToken =
null ) {
56 public function set( $key,
$value, $exptime = 0, $flags = 0 ) {
58 $key . self::KEY_SUFFIX,
66 public function add( $key,
$value, $exptime = 0, $flags = 0 ) {
68 $key . self::KEY_SUFFIX,
74 public function delete( $key, $flags = 0 ) {
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
This is a wrapper for APC's shared memory functions.
doGet( $key, $flags=0, &$casToken=null)
add( $key, $value, $exptime=0, $flags=0)
Insert an item if it does not already exist.
decr( $key, $value=1)
Decrease stored value of $key by $value while preserving its TTL.
incr( $key, $value=1)
Increase stored value of $key by $value while preserving its TTL.
Class representing a cache/ephemeral data store.
isInteger( $value)
Check if a value is an integer.