Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 15, 13:25
Unknown Object (File)
Sun, Mar 15, 05:02
Unknown Object (File)
Sat, Mar 14, 23:00
Unknown Object (File)
Thu, Mar 12, 16:30
Unknown Object (File)
Tue, Mar 10, 02:39
Unknown Object (File)
Mon, Mar 9, 19:55
Unknown Object (File)
Fri, Mar 6, 03:17
Unknown Object (File)
Fri, Mar 6, 01:53
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