Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F34976670: D2509.id6330.diff
Sun, Jul 5, 08:14
F34972424: D2509.id6329.diff
Sat, Jul 4, 20:11
F34970805: D2509.id6329.diff
Sat, Jul 4, 17:12
Unknown Object (File)
Fri, Jul 3, 23:44
Unknown Object (File)
Fri, Jul 3, 21:17
Unknown Object (File)
Fri, Jul 3, 20:11
Unknown Object (File)
Thu, Jul 2, 05:40
Unknown Object (File)
Wed, Jul 1, 06:05
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