Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F3742558: D2509.diff
Thu, Nov 14, 08:06
F3742556: D2509.id.diff
Thu, Nov 14, 08:05
Unknown Object (File)
Tue, Nov 12, 19:02
Unknown Object (File)
Tue, Nov 12, 15:22
Unknown Object (File)
Sun, Nov 10, 05:59
Unknown Object (File)
Sun, Nov 10, 05:18
Unknown Object (File)
Sat, Nov 9, 17:07
Unknown Object (File)
Fri, Nov 8, 22:41
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