Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F12215712: D2509.id6328.diff
Wed, Oct 8, 16:06
Unknown Object (File)
Tue, Oct 7, 22:13
Unknown Object (File)
Mon, Oct 6, 16:17
Unknown Object (File)
Sun, Oct 5, 10:35
Unknown Object (File)
Fri, Oct 3, 02:23
Unknown Object (File)
Sun, Sep 28, 16:57
Unknown Object (File)
Thu, Sep 25, 16:10
Unknown Object (File)
Thu, Sep 25, 13:32
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 Not Applicable
Unit
Tests Not Applicable