Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 1, 04:25
Unknown Object (File)
Mon, Mar 31, 14:02
Unknown Object (File)
Mon, Mar 31, 04:35
Unknown Object (File)
Sat, Mar 29, 10:11
Unknown Object (File)
Fri, Mar 28, 23:02
Unknown Object (File)
Thu, Mar 27, 03:48
Unknown Object (File)
Tue, Mar 25, 14:49
Unknown Object (File)
Mon, Mar 24, 05:34
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