Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F25032607: D2509.id6329.diff
Thu, Mar 26, 10:05
F25032593: D2509.id6329.diff
Thu, Mar 26, 10:05
F25032591: D2509.id6329.diff
Thu, Mar 26, 10:05
F25032582: D2509.id6329.diff
Thu, Mar 26, 10:05
F25032581: D2509.id6329.diff
Thu, Mar 26, 10:05
F25032580: D2509.id6329.diff
Thu, Mar 26, 10:05
Unknown Object (File)
Mon, Mar 23, 10:39
Unknown Object (File)
Sun, Mar 22, 22:54
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