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, Dec 28, 12:08
Unknown Object (File)
Sat, Dec 27, 12:42
Unknown Object (File)
Sat, Dec 27, 12:42
Unknown Object (File)
Fri, Dec 26, 01:13
Unknown Object (File)
Wed, Dec 24, 12:41
Unknown Object (File)
Wed, Dec 24, 03:01
Unknown Object (File)
Tue, Dec 23, 10:07
Unknown Object (File)
Tue, Dec 23, 06:35
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