HomeDevCentral

Propagate database events

Description

Propagate database events

Summary:
Obsidian offered the current refined code used in Keruald\Databases,
with an unported feature, connection and SQL error events.

This change migrates Obsidian Events static class in Keruald\OmniTools.
When that library is present, DatabaseEngine classes will fire events.

PSR-14: Event Dispatcher isn't currently implemented,
as we don't see any use case to justify a dependency
against Psr\EventDispatcher interfaces.

Fixes T1709.
Fixes Espace Win Bugzilla #21.

Test Plan: As part of T2145, switch to Keruald implementation in Obsdian Workspaces.

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1709

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

Details

Provenance
derecksonAuthored on Sun, Oct 19, 09:50
derecksonPushed on Sun, Oct 19, 12:09
Reviewer
dereckson
Differential Revision
D3772: Propagate database events
Parents
rKERUALD636260f1d282: Upgrade to PHP_CodeSniffer 4.0.0
Branches
Unknown
Tags
Unknown
References
tag: omnitools/0.15.0, tag: database/0.5.0
Tasks
T1709: Static events for database