init() public method
Initializes the DbMessageSource component.
This method will initialize the $db property to make sure it refers to a valid DB connection. Configured $cache component would also be initialized.
public void init ( ) | ||
---|---|---|
throws | yii\base\InvalidConfigException |
Please login to continue.