final | |
|---|---|
readonly | |
implements |
JsonSerializable |
A business-process message — the rich sibling of a flat Laravel validation
error, carrying the full UI5 sap.ui.core.message.Message vocabulary.
Three rungs of explanation: {@see $message} (the one line) → {@see $description} (an optional inline paragraph) → {@see $helpId} (the authored man page). Text is always i18n keys + params, never resolved prose.
target present ⇒ a state message bound to that binding path (clears
with the field, like a validation mark); absent ⇒ a transition message
(transition = true, persists across a model refresh). See the
ui5-core-lib markMessages seam.
| Methods | ||
|---|---|---|
public
|
__construct(
Severity $severity,
MessageText $message,
?MessageText $description = null,
?string $target = null,
?string $helpId = null,
bool $transition = false,
?string $code = null,
)
|
# |
public
|
jsonSerialize(): array
|
# |
| Properties | |||
|---|---|---|---|
public
|
Severity
|
$severity
|
# |
public
|
MessageText
|
$message
|
# |
public
|
?MessageText
|
$description
|
# |
public
|
?string
|
$target
|
# |
public
|
?string
|
$helpId
|
# |
public
|
bool
|
$transition
|
# |
public
|
?string
|
$code
|
# |