Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F9506033: D2509.id6328.diff
Fri, Jun 6, 01:44
Unknown Object (File)
Wed, Jun 4, 03:43
Unknown Object (File)
Tue, Jun 3, 20:43
Unknown Object (File)
Mon, Jun 2, 06:20
Unknown Object (File)
Sat, May 31, 02:30
Unknown Object (File)
Fri, May 23, 07:09
Unknown Object (File)
Tue, May 20, 07:07
Unknown Object (File)
Sun, May 18, 06:44
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