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