ActivityContextInterface
in
Table of Contents
Methods
- doNotCompleteOnReturn() : void
- Marks the activity as incomplete for asynchronous completion.
- getHeartbeatDetails() : mixed
- Returns the payload passed into the last heartbeat.
- getInfo() : ActivityInfo
- Returns information about current activity execution.
- getInput() : ValuesInterface
- Returns activity execution input arguments.
- hasHeartbeatDetails() : bool
- Check if the heartbeat's first argument has been passed.
- heartbeat() : void
- Use to notify workflow that activity execution is alive.
Methods
doNotCompleteOnReturn()
Marks the activity as incomplete for asynchronous completion.
public
doNotCompleteOnReturn() : void
Tags
getHeartbeatDetails()
Returns the payload passed into the last heartbeat.
public
getHeartbeatDetails([Type|string $type = null ]) : mixed
Parameters
- $type : Type|string = null
Tags
getInfo()
Returns information about current activity execution.
public
getInfo() : ActivityInfo
Tags
Return values
ActivityInfogetInput()
Returns activity execution input arguments.
public
getInput() : ValuesInterface
Tags
Return values
ValuesInterfacehasHeartbeatDetails()
Check if the heartbeat's first argument has been passed.
public
hasHeartbeatDetails() : bool
Tags
Return values
boolheartbeat()
Use to notify workflow that activity execution is alive.
public
heartbeat(mixed $details) : void
Parameters
- $details : mixed