Skip to content
docsv0.12.0

InvocationStepKind

The stations an invocation can pass through, in the order the pipeline runs them. The order is the contract: authorize after validate, because refusing malformed input is not an authorization decision; clamp between them, because a value has to be inside its bounds before a policy can be asked about it.

InvocationStepKind::inspectionOrder()

public static function inspectionOrder(): array

El orden del MODELO inspeccionable (ADR#13 P13.1) — NO la fuente ejecutable. La fuente ejecutable es {@see \Milpa\ToolRuntime\ToolRegistry::call()}; este orden es su espejo, protegido por el drift-guard ({@see \Milpa\ToolRuntime\Tests\Inspection\InvocationPipelineDriftTest}) que muerde cualquier divergencia. Mientras call() no CONSUMA esta secuencia, son dos representaciones vigiladas, no una sola fuente.

InvocationStepKind::cases()

public static function cases(): array

InvocationStepKind::from()

public static function from(string|int $value): static

Parameters

Parameters of from()
NameTypeDescription
$valuestring|int

InvocationStepKind::tryFrom()

public static function tryFrom(string|int $value): ?static

Parameters

Parameters of tryFrom()
NameTypeDescription
$valuestring|int