php-dextrin

Formatter.php

Table of Contents

Classes

Formatter
Multi-line, indented `.dxn` rendering -- the `pretty: true` option on `Dextrin::encode()`, built on top of {@see Printer}. Every non-empty collection gets one entry per line, indented one level deeper than its container; every empty collection and every scalar falls through to the single-line printer unchanged (there's nothing multi-line about `[]` or `42`).
On this page

Search results