Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F27622605: D2509.id6329.diff
Wed, May 6, 02:32
Unknown Object (File)
Mon, May 4, 00:12
Unknown Object (File)
Sun, May 3, 21:00
Unknown Object (File)
Sun, May 3, 17:17
Unknown Object (File)
Sun, May 3, 05:47
Unknown Object (File)
Sat, May 2, 12:25
Unknown Object (File)
Wed, Apr 29, 07:38
Unknown Object (File)
Sun, Apr 26, 18: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 Not Applicable
Unit
Tests Not Applicable