VersioningOverride
in package
FinalYes
Represents the override of a worker's versioning behavior for a workflow execution.
Tags
Table of Contents
Properties
Methods
- autoUpgrade() : self
- The Workflow will auto-upgrade to the current deployment version on the next workflow task.
- pinned() : self
- The Workflow will be pinned to a specific deployment version.
- __construct() : mixed
Properties
$behavior read-only
public
VersioningBehavior
$behavior
$version read-only
public
WorkerDeploymentVersion|null
$version
= null
Methods
autoUpgrade()
The Workflow will auto-upgrade to the current deployment version on the next workflow task.
public
static autoUpgrade() : self
Return values
selfpinned()
The Workflow will be pinned to a specific deployment version.
public
static pinned(WorkerDeploymentVersion $version) : self
Parameters
- $version : WorkerDeploymentVersion
Return values
self__construct()
private
__construct(VersioningBehavior $behavior[, WorkerDeploymentVersion|null $version = null ]) : mixed
Parameters
- $behavior : VersioningBehavior
- $version : WorkerDeploymentVersion|null = null