Method | Description | |
---|---|---|
__construct ( ) | ||
clear ( ) | Removes all values. | |
count ( ) : integer | ||
delete ( string $key ) | ||
exists ( string $key ) : boolean | ||
get ( string $key ) : mixed | null | ||
offsetExists ( $key ) : boolean | Alias of exists(). | |
offsetGet ( string $key ) : mixed | Alias of get(). | |
offsetSet ( string $key, mixed $value ) | Alias of set() with $ttl = 0. | |
offsetUnset ( string $key ) | Alias of delete(). | |
set ( string $key, mixed $value, integer $ttl ) |
public offsetExists ( $key ) : boolean | ||
$key | ||
return | boolean |