Remove direct interaction with Memcache object for ease of mocking in tests.
google\appengine\ext\session\MemcacheContainer::__construct |
( |
| ) |
|
google\appengine\ext\session\MemcacheContainer::close |
( |
| ) |
|
Closes the Memcache instance.
- Returns
- bool true if successful, false otherwise
google\appengine\ext\session\MemcacheContainer::delete |
( |
|
$key | ) |
|
Removes the key value pair, keyed with the input variable.
- Parameters
-
string | $key | Input key to remove key value pair |
- Returns
- bool true if successful, false otherwise
google\appengine\ext\session\MemcacheContainer::get |
( |
|
$key | ) |
|
Finds the value associated with input key, from Memcache.
- Parameters
-
string | $key | Input key from which to find value |
- Returns
- string value associated with input key
google\appengine\ext\session\MemcacheContainer::set |
( |
|
$key, |
|
|
|
$value, |
|
|
|
$expire |
|
) |
| |
Inserts a key value pair, with expiry time, into Memcache.
- Parameters
-
string | $key | Input key to associate with the value |
string | $value | Input value to be stored |
int | $expire | Time until the pair can be garbage collected |
- Returns
- bool true if successful, false otherwise
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/php/sdk/google/appengine/ext/session/MemcacheSessionHandler.php