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
F57097982: D4174.id10937.diff
Sat, Nov 14, 14:00
F57095833: D4174.diff
Sat, Nov 14, 12:41
F57047985: D4174.id10937.diff
Fri, Nov 13, 16:48
F57037071: D4174.diff
Fri, Nov 13, 10:14
F57029610: D4174.id.diff
Fri, Nov 13, 06:01
F56991555: D4174.id10936.diff
Thu, Nov 12, 15:14
F56854218: D4174.diff
Tue, Nov 10, 01:22
F56766628: D4174.diff
Mon, Nov 9, 03:55
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