octicon-rss(16/)
You've already forked yii2
mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-10 02:13:17 +08:00
Doc comments for MongoDB Session updated.
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
octicon-diff(16/tw-mr-1) 1 changed files with 2 additions and 0 deletions
@@ -43,6 +43,8 @@ class Session extends \yii\web\Session
|
||||
public $db = 'mongodb';
|
||||
/**
|
||||
* @var string|array the name of the MongoDB collection that stores the session data.
|
||||
* Please refer to [[Connection::getCollection()]] on how to specify this parameter.
|
||||
* This collection is better to be pre-created with fields 'id' and 'expire' indexed.
|
||||
*/
|
||||
public $sessionCollection = 'session';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user