$_params
$_params : array
Params.
Container for scripts as fields.
This function can be used to handle params for queries, filter
__construct(array<mixed,\Elastica\Script\Script>|array $scripts = array())
array<mixed,\Elastica\Script\Script>|array | $scripts | OPTIONAL |
addScript(string $name, \Elastica\Script\AbstractScript $script) : $this
string | $name | Name of the Script field |
\Elastica\Script\AbstractScript | $script |
setScripts(array<mixed,\Elastica\Script\Script>|array $scripts) : $this
array<mixed,\Elastica\Script\Script>|array | $scripts | Associative array of string => Elastica\Script\Script |