abstract |
|---|
readonly |
Context passed to a request handler. Carries metadata about the incoming request and exposes domain helpers for emitting out-of-band messages.
| Methods | ||
|---|---|---|
public
|
__construct(
RequestId $requestId,
Cancellation $cancellation,
RequestMetaObject $meta,
?string $sessionId,
SenderInterface $sender,
)
|
# |
public
|
reportProgress(float $progress, ?float $total = null, ?string $message = null): void
|
# |
| Properties | |||
|---|---|---|---|
public
|
RequestId
|
$requestId
|
# |
public
|
Cancellation
|
$cancellation
|
# |
public
|
RequestMetaObject
|
$meta
|
# |
public
|
?string
|
$sessionId
|
# |
protected
|
SenderInterface
|
$sender
|
# |