Home
DevCentral
Search
Configure Global Search
Log In
Transactions
T1709
Change Details
Change Details
Old
New
Diff
//This task has been imported [[ https://bugzilla.espace-win.org/show_bug.cgi?id=21 | from Espace Win Bugzilla ]].// **Original issue** `Database::$cantConnectToHostEvents` would be interesting as static events binds. A case to consider is: ```lang=php PDODatabase extends Database { public function __construct (...) ... { ... //Fires CantConnectToHost event } } ``` Should we only read `PDODatabase::$cantConnectToHostEvents` or also `Database::$cantConnectToHostEvents`? **Notes 2022-03-19** * 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 package could be interesting to solve those issues * Keruald/database could detect keruald/events and fire events when needed
//This task has been imported [[ https://bugzilla.espace-win.org/show_bug.cgi?id=21 | from Espace Win Bugzilla ]].// **Original issue** `Database::$cantConnectToHostEvents` would be interesting as static events binds. A case to consider is: ```lang=php 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 package~~ could be interesting to solve those issues -> lightweight enough to be in omnitools * Keruald/database could ~~detect keruald/events~~ and fire events when needed
//This task has been imported [[ https://bugzilla.espace-win.org/show_bug.cgi?id=21 | from Espace Win Bugzilla ]].// **Original issue** `Database::$cantConnectToHostEvents` would be interesting as static events binds. A case to consider is: ```lang=php PDODatabase extends Database { public function __construct (...) ... { ... //Fires CantConnectToHost event } } ``` Should we only read `PDODatabase::$cantConnectToHostEvents` or also `Database::$cantConnectToHostEvents`? **Notes
2022-03-19
** * 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 package
~~
could be interesting to solve those issues
-> lightweight enough to be in omnitools
* Keruald/database could
~~
detect keruald/events
~~
and fire events when needed
Continue