docs/static/reference/php/Dagger/FunctionCall.html
class FunctionCall extends AbstractObject implements IdAble
An active function call.
| | $lastQuery | | from AbstractObject |
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain)
No description
from AbstractObject
null|array|string|int|float|bool
queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)
No description
from AbstractObject
id()
A unique identifier for this FunctionCall.
array
The argument values the function is being invoked with.
string
name()
The name of the function being called.
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.
string
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.
void
returnError(Error $error)
Return an error from the function.
void
returnValue(Json $value)
Set the return value of the function call to the provided value.
__construct(AbstractClient $client, QueryBuilderChain $queryBuilderChain) No description
| AbstractClient | $client | | | QueryBuilderChain | $queryBuilderChain | |
protected null|array|string|int|float|bool queryLeaf(QueryBuilder $leafQueryBuilder, string $leafKey)No description
| QueryBuilder | $leafQueryBuilder | | | string | $leafKey | |
| null|array|string|int|float|bool | |
AbstractId id()A unique identifier for this FunctionCall.
| AbstractId | |
array inputArgs()The argument values the function is being invoked with.
| array | |
string name()The name of the function being called.
| string | |
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.
| Json | |
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.
| string | |
void returnError(Error $error)Return an error from the function.
| Error | $error | |
| void | |
void returnValue(Json $value)Set the return value of the function call to the provided value.
| Json | $value | |
| void | |
Generated by Doctum, a API Documentation generator and fork of Sami.