HomeDevCentral

Implement ArrayAccess interface for Vector and HashMap

Description

Implement ArrayAccess interface for Vector and HashMap

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.

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1678

Differential Revision: https://devcentral.nasqueron.org/D2509

Details

Provenance
derecksonAuthored on Feb 10 2022, 23:20
derecksonPushed on Feb 10 2022, 23:37
Reviewer
dereckson
Differential Revision
D2509: Implement ArrayAccess interface for Vector and HashMap
Parents
rKOTc7b5209e8276: Allow to check if a vector or map is empty
Branches
Unknown
Tags
Unknown
References
tag: 0.7.2
Tasks
T1678: Health check and reporting library