class HandledStamp implements StampInterface

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

Methods

__construct($result, string $callableName, string $handlerAlias = null)

No description

static HandledStamp
fromCallable(callable $handler, $result, string $handlerAlias = null)

No description

mixed
getResult()

No description

string
getCallableName()

No description

string|null
getHandlerAlias()

No description

Details

__construct($result, string $callableName, string $handlerAlias = null)

Parameters

$result
string $callableName
string $handlerAlias

static HandledStamp fromCallable(callable $handler, $result, string $handlerAlias = null)

Parameters

callable $handler
$result
string $handlerAlias

Return Value

HandledStamp

mixed getResult()

Return Value

mixed

string getCallableName()

Return Value

string

string|null getHandlerAlias()

Return Value

string|null