Class MongoCache
A cache service that stores data in MongoDB
- Wei\Base
-
Wei\BaseCache
-
Wei\MongoCache
public
|
|
public
mixed
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
integer|false
|
|
public
boolean
|
|
public
MongoCollection
|
|
public
|
__invoke(),
decr(),
getFileContent(),
getMulti(),
getNamespace(),
processGetResult(),
setMulti(),
setNamespace()
|
__call(),
__get(),
getOption(),
setOption()
|
protected
string
|
$host
The host connect to MongoDB |
#
'localhost'
|
protected
integer
|
$port
The port connect to MongoDB |
#
27017
|
protected
MongoCollection
|
$object
The MongoDb collection object |
|
protected
string
|
$db
The database stores cache data |
#
'cache'
|
protected
string
|
$collection
The collection stores cache data |
#
'cache'
|
$namespace
|
$providers,
$wei
|