Documentation

SignalMethod
in package

FinalYes

Indicates that the method is a signal handler method. Signal method is executed when workflow receives signal. This annotation applies only to workflow interface methods.

Tags
Annotation
NamedArgumentConstructor
Target

({ "METHOD" })

Table of Contents

Properties

$name  : string|null
$unfinishedPolicy  : HandlerUnfinishedPolicy

Methods

__construct()  : mixed

Attributes

#[Attribute]

#[Attribute]

#[NamedArgumentConstructor]

#[NamedArgumentConstructor]

Properties

Methods

__construct()

public __construct([non-empty-string|null $name = null ][, HandlerUnfinishedPolicy $unfinishedPolicy = HandlerUnfinishedPolicy::WarnAndAbandon ]) : mixed
Parameters
$name : non-empty-string|null = null

Signal name.

$unfinishedPolicy : HandlerUnfinishedPolicy = HandlerUnfinishedPolicy::WarnAndAbandon

Actions taken if a workflow exits with a running instance of this handler.


        
On this page

Search results