ValidatorPlan
Format-independent description of one validator config source (today: one validators.xml file, after XInclude/XSL normalization).
A ValidatorPlan is what any back-end emitter (runtime cache, fluent source, a future CLI’s —check) consumes; it never needs to know which front-end produced it.
Synopsis
Section titled “Synopsis”final class ValidatorPlan
| Since | 1.0.0 |
| Source | Validator/Compiler/Ir/ValidatorPlan.php |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
$nodes | array | readonly. |
$sourceRef | string | readonly. |
Constructor
Section titled “Constructor”__construct()
Section titled “__construct()”public function __construct(array<ValidatorNode> $nodes, string $sourceRef): mixed
Origin reference (e.g. file path), for diagnostics and generated-file headers.
| Parameter | Type | Description |
|---|---|---|
$nodes | array``<ValidatorNode> | Top-level validator nodes, in document order. |
$sourceRef | string | Origin reference (e.g. file path), for diagnostics and generated-file headers. |
Returns mixed