Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F31860523: D2509.diff
Fri, Jun 5, 00:08
Unknown Object (File)
Fri, May 29, 20:31
Unknown Object (File)
Fri, May 29, 05:44
Unknown Object (File)
Thu, May 28, 07:15
Unknown Object (File)
Mon, May 25, 09:55
Unknown Object (File)
Sun, May 24, 08:16
Unknown Object (File)
Sat, May 23, 17:48
Unknown Object (File)
Sat, May 23, 01: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