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)
Sat, Jun 28, 21:25
Unknown Object (File)
Sat, Jun 28, 05:44
Unknown Object (File)
Sun, Jun 22, 17:35
Unknown Object (File)
Sun, Jun 22, 08:34
Unknown Object (File)
Sat, Jun 21, 22:44
Unknown Object (File)
Sat, Jun 21, 20:11
Unknown Object (File)
Sat, Jun 21, 15:47
Unknown Object (File)
Sat, Jun 21, 10:21
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