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)
Thu, May 7, 00:57
Unknown Object (File)
Wed, May 6, 15:53
Unknown Object (File)
Wed, May 6, 15:52
Unknown Object (File)
Wed, May 6, 10:24
Unknown Object (File)
Wed, May 6, 06:32
Unknown Object (File)
Wed, May 6, 02:32
Unknown Object (File)
Mon, May 4, 00:12
Unknown Object (File)
Sun, May 3, 21:00
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