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)
Sun, Oct 18, 06:52
Unknown Object (File)
Thu, Oct 15, 05:30
Unknown Object (File)
Wed, Oct 14, 08:16
Unknown Object (File)
Sun, Oct 11, 05:10
Unknown Object (File)
Sat, Oct 10, 13:19
Unknown Object (File)
Sat, Oct 10, 01:20
Unknown Object (File)
Fri, Oct 9, 23:52
Unknown Object (File)
Fri, Oct 9, 21:21
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