Documentation

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
Annotation
NamedArgumentConstructor
Target

({ "METHOD" })

Table of Contents

Properties

$description  : string
$name  : string|null

Methods

__construct()  : mixed

Attributes

#[Attribute]

#[Attribute]

#[NamedArgumentConstructor]

#[NamedArgumentConstructor]

Properties

$description read-only

public string $description = ''

Methods

__construct()

public __construct([non-empty-string|null $name = null ][, string $description = '' ]) : mixed
Parameters
$name : non-empty-string|null = null
$description : string = ''

Short description of the query type.


        
On this page

Search results