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