final | |
|---|---|
readonly | |
implements |
BusinessContextInterface |
The default {@see BusinessContextInterface} — a plain carrier of the resolved
#[Parameter] map, the FormRequest's validated body, and the resolved slot
map. Deliberately holds no identity: the handler reads actor/org off its
SdkContext sibling. Deliberately dumb: it holds pre-resolved values and is
queried ad hoc; the dispatcher does all resolving.
A handler that wants a typed input shape opts in locally
(CreatePersonInput::from($ctx->validated())); this context never learns what
a DTO is.
| Methods | ||
|---|---|---|
public
|
__construct(
array<string, mixed> $parameters = [],
array<string, mixed> $validated = [],
array<string, mixed> $slots = [],
)
|
# |
public
|
parameter(string $name): mixed
|
# |
public
|
parameters(): array
|
# |
public
|
validated(): array
|
# |
public
|
slot(string $name): mixed
|
# |
public
|
slots(): array
|
# |