\Elastica\ScriptScriptId

Stored script referenced by ID.

Summary

Methods
Properties
Constants
__construct()
setScriptId()
getScriptId()
No public properties found
No constants found
getScriptTypeArray()
No protected properties found
N/A
No private methods found
$_scriptId
N/A

Properties

$_scriptId

$_scriptId : string

Type

string

Methods

__construct()

__construct(string  $scriptId, array|null  $params = null, string|null  $lang = null, string|null  $documentId = null) 

Parameters

string $scriptId

Script ID

array|null $params
string|null $lang
string|null $documentId

Document ID the script action should be performed on (only relevant in update context)

setScriptId()

setScriptId(\Elastica\Script\string  $scriptId) 

Parameters

\Elastica\Script\string $scriptId

getScriptId()

getScriptId() 

getScriptTypeArray()

getScriptTypeArray() 

{@inheritdoc}