- Issue created by @mondrake
- Merge request !12539Draft: Introduce a ConnectionParameters object to store database connection parameters → (Open) created by mondrake
Database connection configuration is stored in arrays that are more or less taken as is from info in the $databases
array in settings.php.
This makes the entire management of these connection options a bit sparsed around, and static analysis struggling.
Introduce a ConnectionParameters object where configuration is read from settings.php (or programmatically), then sealed off for the rest of the request. Adjust code so that as much of the logic as possible determines the object before instatation (possibly, end up with a value object).
Active
11.0 🔥
database system