Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F10867532: D2509.id.diff
Fri, Aug 1, 16:10
Unknown Object (File)
Mon, Jul 28, 01:27
Unknown Object (File)
Mon, Jul 28, 00:30
Unknown Object (File)
Sun, Jul 27, 09:42
Unknown Object (File)
Sat, Jul 26, 19:16
Unknown Object (File)
Sat, Jul 26, 17:38
Unknown Object (File)
Fri, Jul 25, 10:31
Unknown Object (File)
Wed, Jul 23, 11:39
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