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 19 2022, 22:15
Parents
rKERUALDc7b5209e8276: Allow to check if a vector or map is empty
Branches
Unknown
Tags
Unknown
References
tag: omnitools/0.7.2

Event Timeline