Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F33618509: D2509.id6328.diff
Fri, Jun 19, 23:06
F33576964: D2509.id.diff
Fri, Jun 19, 11:40
Unknown Object (File)
Thu, Jun 18, 21:26
Unknown Object (File)
Thu, Jun 18, 20:52
Unknown Object (File)
Thu, Jun 18, 19:59
Unknown Object (File)
Wed, Jun 17, 17:44
Unknown Object (File)
Wed, Jun 17, 17:18
Unknown Object (File)
Tue, Jun 16, 23:53
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