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
Unknown Object (File)
Sat, Nov 21, 15:01
Unknown Object (File)
Sat, Nov 21, 11:36
Unknown Object (File)
Fri, Nov 20, 11:21
Unknown Object (File)
Mon, Nov 16, 15:06
Unknown Object (File)
Sun, Nov 15, 03:01
Unknown Object (File)
Sat, Nov 14, 14:00
Unknown Object (File)
Sat, Nov 14, 12:41
Unknown Object (File)
Fri, Nov 13, 16:48
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