FunctionCall
class FunctionCall extends AbstractObject implements IdAble
An active function call.
Properties
$lastQuery | from AbstractObject |
Methods
No description
A unique identifier for this FunctionCall.
The argument values the function is being invoked with.
The name of the function being called.
The value of the parent object of the function being called. If the function is top-level to the module, this is always an empty object.
The name of the parent object of the function being called. If the function is top-level to the module, this is the name of the module.
Return an error from the function.
Details
in
AbstractObject at line 13
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
in
AbstractObject at line 19
protected null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
at line 19
AbstractId
id()
A unique identifier for this FunctionCall.
at line 28
array
inputArgs()
The argument values the function is being invoked with.
at line 37
string
name()
The name of the function being called.
at line 46
Json
parent()
The value of the parent object of the function being called. If the function is top-level to the module, this is always an empty object.
at line 55
string
parentName()
The name of the parent object of the function being called. If the function is top-level to the module, this is the name of the module.
at line 64
void
returnError(Error $error)
Return an error from the function.
at line 74
void
returnValue(Json $value)
Set the return value of the function call to the provided value.