Everything under Quiote\Config\Format.
| Class | Description |
|---|
AbstractArrayFormatDriver | Shared parent-chain and imports resolution for array-shaped formats (PHP arrays, YAML). |
ArrayMergeStrategy | Format-agnostic parent/child config inheritance (phase 4). |
DirectiveExpander | Applies the same %core.quiote_dir%-style directive expansion and literal-boolean coercion that XML config values get “for free” via XmlConfigDomElement::getLiteralValue() (which runs Toolkit::literalize() on element text by default) — to PHP-array and YAML config values, which have no XML text-node equivalent to hook that into. |
FormatAwareConfigCache | Extension-agnostic sibling of ConfigCache::checkConfig(): given a base path with NO extension, resolves whichever of .php/.yaml/.yml/.xml actually exists (via FormatDriverRegistry::locate(), priority PHP > YAML > XML), compiles it through the given handler’s array contract, and reuses ConfigCache’s own cache-naming/staleness/write primitives so the compiled artifact is indistinguishable from one ConfigCache produced. |
FormatDriverRegistry | Maps a config file’s extension to the FormatDriver that understands it, and is itself the thing parent/imports references are resolved through — so a PHP-array config can have a YAML parent, a YAML config can import an XML-derived one, etc. |
PhpArrayFormatDriver | Loads a config source that is itself a plain PHP file returning an array — the recommended primary format (zero parsing cost beyond opcache, full IDE support, native parent/imports path resolution via AbstractArrayFormatDriver). |
XmlFormatDriver | Wraps the existing XmlConfigParser pipeline (XInclude, XSD validation, XSL normalization, parent-chain merge — all untouched, see phase 1’s “what this is NOT”) and converts its output to the canonical array via the bound handler’s toCanonicalArray(). |
YamlFormatDriver | Loads a config source written in YAML, via symfony/yaml. |
| Interface | Description |
|---|
FormatDriverInterface | A FormatDriver turns one config source file, in whatever format it understands, into a normalized PHP array — the same canonical shape a given config handler’s array-based execute() method consumes regardless of which driver produced it (see Quiote\Config\IArrayConfigHandler). |
PositionAwareFormatDriverInterface | Opt-in “locating” parse mode (see VSCODE_EXTENSION_INTEGRATION.md’s config validator work item 3): same canonical array a plain load() would produce, plus a key-path -> {file, line} index for whichever keys the driver could trace back to a source position. |