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, Oct 28, 00:26
Unknown Object (File)
Tue, Oct 21, 05:25
Unknown Object (File)
Mon, Oct 20, 22:55
Unknown Object (File)
Mon, Oct 20, 22:10
Unknown Object (File)
Mon, Oct 20, 12:58
Unknown Object (File)
Sun, Oct 19, 18:35
Unknown Object (File)
Sat, Oct 18, 03:17
Unknown Object (File)
Fri, Oct 17, 21:03
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