php-dextrin

MapBuilder.php

Table of Contents

Classes

MapBuilder
Builds a DXN `map` as a bare PHP array -- shared by the text {@see \JOetjen\Dextrin\Text\Parser} and the binary {@see \JOetjen\Dextrin\Binary\Decoder}, since both need identical logic for the exact same reason: `map` is the one collection type this port decodes to bare native `array` rather than a wrapper class (see the project's own collections decision), and every PHP-array-key coercion hazard that follows from that applies equally regardless of which pipeline produced the raw key/value pairs.
On this page

Search results