options() public method (available since version 2.0.4)
Sets the options to be passed to the command created by this query.
See also yii\elasticsearch\Command::$options.
| public $this options ( $options ) | ||
|---|---|---|
| $options | array |
The options to be set. |
| return | $this |
The query object itself |
| throws | yii\base\InvalidParamException |
if $options is not an array |
Please login to continue.