Documentation

HandledStamp
in package
implements StampInterface

FinalYes

Stamp identifying a message handled by the `HandleMessageMiddleware` middleware and storing the handler returned value.

This is used by synchronous command buses expecting a return value and the retry logic to only execute handlers that didn't succeed.

Tags
see
HandleMessageMiddleware
see
HandleTrait
author

Maxime Steinhausser maxime.steinhausser@gmail.com

Table of Contents

Interfaces

StampInterface
An envelope stamp related to a message.

Properties

$handlerName  : string
$result  : mixed

Methods

__construct()  : mixed
fromDescriptor()  : self
getHandlerName()  : string
getResult()  : mixed

Properties

Methods

__construct()

public __construct(mixed $result, string $handlerName) : mixed
Parameters
$result : mixed
$handlerName : string

getHandlerName()

public getHandlerName() : string
Return values
string

        
On this page

Search results