Temporal Docs PHP SDK API Version 2.20 (latest release) Release notes

Documentation

WorkflowMethod
in package

FinalYes
Tags
Annotation
NamedArgumentConstructor
Target

({ "METHOD" })

Attributes
#[Attribute]
\Attribute::TARGET_METHOD
#[NamedArgumentConstructor]

Table of Contents

Properties

$name  : non-empty-string|null
Name of the workflow type. Default is "{class_name :: method_name}".

Methods

__construct()  : mixed

Properties

$name

Name of the workflow type. Default is "{class_name :: method_name}".

public non-empty-string|null $name = null

Be careful about names that contain special characters. These names can be used as metric tags. And systems like prometheus ignore metrics which have tags with unsupported characters.

Attributes
#[Immutable]

Methods

__construct()

public __construct([non-empty-string|null $name = null ]) : mixed
Parameters
$name : non-empty-string|null = null
On this page

Search results