Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F24698430: D2509.id6329.diff
Fri, Mar 6, 01:53
Unknown Object (File)
Mon, Mar 2, 19:22
Unknown Object (File)
Sat, Feb 28, 20:25
Unknown Object (File)
Sat, Feb 28, 02:27
Unknown Object (File)
Sat, Feb 28, 01:47
Unknown Object (File)
Thu, Feb 26, 23:40
Unknown Object (File)
Thu, Feb 26, 19:18
Unknown Object (File)
Thu, Feb 26, 08:17
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