Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F3780543: D2509.id6330.diff
Mon, Nov 25, 15:18
F3780370: D2509.diff
Mon, Nov 25, 13:38
Unknown Object (File)
Sat, Nov 23, 22:05
Unknown Object (File)
Thu, Nov 21, 07:52
Unknown Object (File)
Tue, Nov 19, 02:03
Unknown Object (File)
Mon, Nov 18, 22:15
Unknown Object (File)
Mon, Nov 18, 21:57
Unknown Object (File)
Mon, Nov 18, 04:10
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