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 23, 12:27
Unknown Object (File)
Tue, Apr 23, 03:03
Unknown Object (File)
Mon, Apr 22, 17:42
Unknown Object (File)
Mon, Apr 22, 00:54
Unknown Object (File)
Sun, Apr 21, 09:50
Unknown Object (File)
Sat, Apr 20, 07:50
Unknown Object (File)
Fri, Apr 19, 14:38
Unknown Object (File)
Thu, Apr 18, 17:26
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