Page MenuHomeDevCentral

Don't force to write classes for each document type
ClosedPublic

Authored by dereckson on Aug 21 2026, 03:54.
Tags
None
Referenced Files
F53227144: D4174.id10937.diff
Wed, Oct 7, 21:23
F53227126: D4174.id10936.diff
Wed, Oct 7, 21:23
F53225549: D4174.id.diff
Wed, Oct 7, 21:12
F53212359: D4174.diff
Wed, Oct 7, 19:13
Unknown Object (File)
Mon, Oct 5, 17:35
Unknown Object (File)
Mon, Oct 5, 10:10
Unknown Object (File)
Mon, Oct 5, 05:52
Unknown Object (File)
Mon, Oct 5, 00:56
Subscribers
None

Details

Summary

One of the concept of the documents collection is to allow to drop arbitrary
JSON files and get a PHP object from the dictionary fields.

While it's certainly not optimal, and while code could store the properties
in a specific hashmap instead, this attribute is added for compatibility
with PHP 8.2+.

Ref T2144.

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
Lint Not Applicable
Unit
Tests Not Applicable