Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F24283386: D2509.diff
Thu, Feb 12, 13:40
F24282981: D2509.id.diff
Thu, Feb 12, 13:34
F24280093: D2509.id6328.diff
Thu, Feb 12, 11:57
F24276761: D2509.diff
Thu, Feb 12, 10:19
F24267736: D2509.id6328.diff
Thu, Feb 12, 04:55
F24264596: D2509.id6328.diff
Thu, Feb 12, 03:05
F24262307: D2509.id6329.diff
Thu, Feb 12, 01:36
Unknown Object (File)
Wed, Feb 11, 05:34
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