Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F6762940: D2509.id6328.diff
Tue, Apr 8, 10:51
Unknown Object (File)
Fri, Apr 4, 22:22
Unknown Object (File)
Fri, Apr 4, 21:32
Unknown Object (File)
Fri, Apr 4, 14:51
Unknown Object (File)
Fri, Apr 4, 12:02
Unknown Object (File)
Tue, Apr 1, 04:25
Unknown Object (File)
Mon, Mar 31, 14:02
Unknown Object (File)
Mon, Mar 31, 04:35
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 3916
Build 4167: arc lint + arc unit