Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F8512090: D2509.id.diff
Thu, May 15, 16:35
F8486239: D2509.id6330.diff
Thu, May 15, 06:29
F8475013: D2509.id6330.diff
Thu, May 15, 02:02
Unknown Object (File)
Wed, May 14, 12:10
Unknown Object (File)
Fri, May 9, 22:25
Unknown Object (File)
Thu, May 8, 06:34
Unknown Object (File)
Thu, May 8, 01:20
Unknown Object (File)
Mon, May 5, 08: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 Not Applicable
Unit
Tests Not Applicable