Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
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
Unknown Object (File)
Wed, Feb 11, 05:34
Unknown Object (File)
Mon, Feb 9, 20:14
Unknown Object (File)
Mon, Feb 9, 12:32
Unknown Object (File)
Sun, Feb 8, 01:04
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