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)
Sun, Jan 5, 18:33
Unknown Object (File)
Sat, Jan 4, 04:33
Unknown Object (File)
Sat, Jan 4, 04:33
Unknown Object (File)
Thu, Jan 2, 17:10
Unknown Object (File)
Tue, Dec 24, 16:12
Unknown Object (File)
Tue, Dec 24, 04:44
Unknown Object (File)
Sun, Dec 22, 10:10
Unknown Object (File)
Sun, Dec 22, 05:50
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