Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F22602967: D2509.diff
Thu, Jan 29, 20:58
F22569241: D2509.id.diff
Thu, Jan 29, 13:21
F22510956: D2509.id6328.diff
Thu, Jan 29, 02:43
F22510919: D2509.id6330.diff
Thu, Jan 29, 02:43
F22475868: D2509.diff
Wed, Jan 28, 21:51
Unknown Object (File)
Wed, Jan 28, 15:52
Unknown Object (File)
Mon, Jan 26, 13:53
Unknown Object (File)
Sun, Jan 25, 16:33
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