Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F11724659: D2509.id6328.diff
Tue, Sep 16, 16:54
F11724430: D2509.id6329.diff
Tue, Sep 16, 14:52
F11724172: D2509.id.diff
Tue, Sep 16, 13:11
F11721320: D2509.diff
Mon, Sep 15, 19:12
Unknown Object (File)
Sat, Sep 13, 15:00
Unknown Object (File)
Fri, Sep 12, 18:02
Unknown Object (File)
Fri, Sep 12, 18:02
Unknown Object (File)
Fri, Sep 12, 18:02
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