Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F34169261: D2509.diff
Thu, Jun 25, 19:48
Unknown Object (File)
Mon, Jun 22, 08:39
Unknown Object (File)
Mon, Jun 22, 06:37
Unknown Object (File)
Sun, Jun 21, 01:17
Unknown Object (File)
Sat, Jun 20, 07:48
Unknown Object (File)
Fri, Jun 19, 23:06
Unknown Object (File)
Fri, Jun 19, 11:40
Unknown Object (File)
Thu, Jun 18, 21:26
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