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)
Fri, Jun 13, 01:32
Unknown Object (File)
Thu, Jun 12, 02:45
Unknown Object (File)
Wed, Jun 11, 16:05
Unknown Object (File)
Tue, Jun 10, 17:15
Unknown Object (File)
Sun, Jun 8, 03:30
Unknown Object (File)
Sat, Jun 7, 20:42
Unknown Object (File)
Fri, Jun 6, 01:44
Unknown Object (File)
Wed, Jun 4, 03:43
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