Method | Description | |
---|---|---|
__construct ( MongoCollection $collection ) | Constructor. |
Method | Description | |
---|---|---|
doContains ( $id ) | ||
doDelete ( $id ) | ||
doFetch ( $id ) | ||
doFlush ( ) | ||
doGetStats ( ) | ||
doSave ( $id, $data, $lifeTime ) |
Method | Description | |
---|---|---|
isExpired ( array $document ) : boolean | Check if the document is expired. |
public __construct ( MongoCollection $collection ) | ||
$collection | MongoCollection |