Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F16675769: D2509.id6328.diff
Thu, Dec 11, 00:26
Unknown Object (File)
Sat, Dec 6, 13:23
Unknown Object (File)
Sun, Nov 30, 18:44
Unknown Object (File)
Sat, Nov 29, 14:56
Unknown Object (File)
Wed, Nov 26, 18:46
Unknown Object (File)
Mon, Nov 24, 01:43
Unknown Object (File)
Fri, Nov 21, 09:09
Unknown Object (File)
Wed, Nov 19, 22:13
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