init() public method
Initializes the Cache component.
This method will initialize the $db property to make sure it refers to a valid MongoDB connection.
public void init ( ) | ||
---|---|---|
throws | yii\base\InvalidConfigException |
if $db is invalid. |
init() public method
Initializes the Cache component.
This method will initialize the $db property to make sure it refers to a valid MongoDB connection.
public void init ( ) | ||
---|---|---|
throws | yii\base\InvalidConfigException |
if $db is invalid. |
Please login to continue.