ActivityStubInterface
in
Table of Contents
Methods
- execute() : CompletableResultInterface
- Executes an activity asynchronously by its type name and arguments.
- getOptions() : ActivityOptionsInterface
Methods
execute()
Executes an activity asynchronously by its type name and arguments.
public
execute(string $name[, array<string|int, mixed> $args = [] ][, Type|string|null|ReflectionClass|ReflectionType $returnType = null ][, bool $isLocalActivity = false ]) : CompletableResultInterface
Parameters
- $name : string
-
name of an activity type to execute.
- $args : array<string|int, mixed> = []
-
arguments of the activity.
- $returnType : Type|string|null|ReflectionClass|ReflectionType = null
- $isLocalActivity : bool = false
Return values
CompletableResultInterface —Promise to the activity result.
getOptions()
public
getOptions() : ActivityOptionsInterface