php-dextrin

NoDefault.php

Table of Contents

Enums

NoDefault
A payload-free enum used purely as a unique sentinel value ({@see Field::NO_DEFAULT}), comparable via `!==` -- PHP has no `undefined`/ `Symbol()` to reach for the way JS's own `Field.NO_DEFAULT` does, and a plain `null` would be ambiguous with a field whose declared default genuinely *is* `null` (DXN `nil`).
On this page
  • Table Of Contents

Search results