RunInterface defines the contract for run objects that track workflow execution and job responses. It extends StringMappedInterface<TypedInterface> to provide string-keyed access to typed job responses.
Namespace
Methods
keys()
Provides access to the names of jobs with responses.Array of job names that have responses
uuid()
Provides access to workflow UUID V4 (RFC 4122).workflow()
Provides access to the workflow instance.The workflow being executed
container()
Provides access to the container instance.The PSR-11 container instance used for dependency injection
arguments()
Provides access to the arguments instance.The arguments passed to the workflow
skip()
Provides access to the skipped job names.Vector of job names that have been skipped
withResponse()
Returns an instance with the specified job response.The job name
The response value from the job
New instance with the job response added
withSkip()
Returns an instance with the specified job names skipped.One or more job names to skip
New instance with the specified jobs skipped
response()
Provides access to the TypedInterface instance for the given job.The job name
Optional key(s) to access nested response values
The typed response for the specified job (and optional key)
getReturn()
Provides access to the TypedInterface instance for the given job.The job name
The typed response for the specified job
toArray()
Returns all jobs and their raw return values.Associative array of job names to their raw return values