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
F59041832: D4174.id10937.diff
Sat, Dec 5, 06:06
F59041827: D4174.id.diff
Sat, Dec 5, 06:06
Unknown Object (File)
Wed, Dec 2, 00:29
Unknown Object (File)
Sun, Nov 29, 17:15
Unknown Object (File)
Fri, Nov 27, 05:45
Unknown Object (File)
Wed, Nov 25, 08:41
Unknown Object (File)
Tue, Nov 24, 18:44
Unknown Object (File)
Sat, Nov 21, 15:01
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