Page MenuHomeDevCentral

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

Authored by dereckson on Fri, Aug 21, 03:54.
Tags
None
Referenced Files
F45543991: D4174.id10936.diff
Sat, Aug 22, 15:09
F45512403: D4174.diff
Sat, Aug 22, 12:11
F45320357: D4174.id10937.diff
Fri, Aug 21, 17:25
F45320182: D4174.id10936.diff
Fri, Aug 21, 17:23
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