mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
add function to return the config object used to create the database object (#6998)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
* <p>Connect to the database.</p>
|
||||
* <p>Database driver must be set before calling connect.</p>
|
||||
|
||||
Reference in New Issue
Block a user