Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F58059250: D2509.id.diff
Thu, Nov 26, 00:49
F58058770: D2509.id6330.diff
Thu, Nov 26, 00:40
F58058685: D2509.id6329.diff
Thu, Nov 26, 00:39
F58058389: D2509.id6328.diff
Thu, Nov 26, 00:33
F57992280: D2509.id6328.diff
Wed, Nov 25, 02:35
Unknown Object (File)
Mon, Nov 23, 09:52
Unknown Object (File)
Sun, Nov 22, 05:37
Unknown Object (File)
Sun, Nov 15, 00:13
Subscribers
None

Details

Summary

Zed exposes the configuration as a hashmap to the site health checks:
private HashMap $config.

A check need the name of the database. ArrayAccess can allow this syntax:
$this->config['database']['database']

Ref T1678.

Test Plan

Unit tests provided.

Diff Detail

Repository
rKOT Keruald OmniTools
Lint
Lint Passed
Unit
Tests Passed
Branch
main
Build Status
Buildable 3917
Build 4168: arc lint + arc unit