This task has been imported from Espace Win Bugzilla.
Original issue
Database::$cantConnectToHostEvents would be interesting as static events binds.
A case to consider is:
PDODatabase extends Database { public function __construct (...) ... { ... //Fires CantConnectToHost event } }
Should we only read PDODatabase::$cantConnectToHostEvents or also Database::$cantConnectToHostEvents?
Notes
- Not sure if in our implemenetation it should stay static
If Obsidian has a working PDO code, should be integrated into keruald/database package- A
keruald/events packagecould be interesting to solve those issues -> lightweight enough to be in omnitools - Keruald/database could
detect keruald/eventsand fire events when needed