Page MenuHomeDevCentral

Implement ArrayAccess interface for Vector and HashMap
ClosedPublic

Authored by dereckson on Feb 10 2022, 23:27.
Tags
None
Referenced Files
F10636126: D2509.id6330.diff
Sun, Jul 20, 20:40
Unknown Object (File)
Sat, Jul 19, 14:08
Unknown Object (File)
Sat, Jul 19, 14:08
Unknown Object (File)
Sat, Jul 19, 14:08
Unknown Object (File)
Sat, Jul 19, 02:31
Unknown Object (File)
Fri, Jul 18, 06:07
Unknown Object (File)
Fri, Jul 18, 06:01
Unknown Object (File)
Fri, Jul 18, 05:17
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