+
+ if (!$disableDepByHand) {
+ self::setCompositeRootDependencyByHand();
+ }
+ }
+
+ /**
+ * I HATE this method, but everything else needs refactoring at the database itself
+ * Set the database dependencies manually, because of current, circular dependencies between the database and the config table
+ *
+ * @todo Instead of this madness, split the database in a core driver-dependent (mysql, mariadb, postgresql, ..) part without any other dependency unlike credentials and in the full-featured, driver-independent database class with all dependencies
+ */
+ public static function setCompositeRootDependencyByHand()
+ {
+ $database = static::dba();
+ $database->setDependency(static::config(), static::profiler(), static::logger());