put() public method
Performs PUT HTTP request
public mixed put ( $url, $options = [], $body = null, $raw = false )$url
string|array
URL $options array
URL options $body string
Request body $raw boolean
If response body contains JSON and should be decoded return mixed
Response throws yii\elasticsearch\Exception throws yii\base\InvalidConfigException