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)
Mon, Sep 7, 02:14
Unknown Object (File)
Thu, Sep 3, 19:28
Unknown Object (File)
Thu, Sep 3, 04:13
Unknown Object (File)
Tue, Sep 1, 15:15
Unknown Object (File)
Tue, Sep 1, 06:34
Unknown Object (File)
Tue, Sep 1, 01:32
Unknown Object (File)
Mon, Aug 31, 14:16
Unknown Object (File)
Mon, Aug 31, 13:31
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