diff --git a/resources/classes/database.php b/resources/classes/database.php index f89e9c2bf5..4cc1891059 100644 --- a/resources/classes/database.php +++ b/resources/classes/database.php @@ -452,6 +452,14 @@ } } + /** + * Returns the config object used to create this database object + * @return config Config object + */ + public function config(): config { + return $this->config; + } + /** *
Connect to the database.
*Database driver must be set before calling connect.