Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F53790066: D2509.id6328.diff
Mon, Oct 12, 07:56
F53784262: D2509.id6330.diff
Mon, Oct 12, 06:57
F53783427: D2509.id6329.diff
Mon, Oct 12, 06:49
F53783408: D2509.id6328.diff
Mon, Oct 12, 06:49
F53783407: D2509.id6330.diff
Mon, Oct 12, 06:49
F53763972: D2509.diff
Mon, Oct 12, 03:25
F53759894: D2509.id6329.diff
Mon, Oct 12, 02:42
F53752592: D2509.diff
Mon, Oct 12, 01:17
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