QueryMethod
in package
FinalYes
Indicates that the method is a query method. Query method can be used to query a workflow state by external process at any time during its execution.
This annotation/attribute applies only to workflow interface methods.
Query methods must never change any workflow state including starting activities or block threads in any way.
Tags
Table of Contents
Properties
- $name : string|null
Methods
- __construct() : mixed
Attributes
#[Attribute]
#[Attribute]
#[NamedArgumentConstructor]
#[NamedArgumentConstructor]
Properties
$name read-only
public
string|null
$name
= null
Methods
__construct()
public
__construct([non-empty-string|null $name = null ]) : mixed
Parameters
- $name : non-empty-string|null = null