add domain_uuid and user_uuid methods to return loaded IDs
This commit is contained in:
parent
9f2e4c4ba3
commit
b083d687f4
|
|
@ -94,6 +94,22 @@ class settings {
|
|||
return $this->database;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the domain_uuid that was used to load the settings
|
||||
* @return string domain_uuid or an empty string
|
||||
*/
|
||||
public function domain_uuid(): string {
|
||||
return $this->domain_uuid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the user_uuid that was used to load the settings
|
||||
* @return string user_uuid or an empty string
|
||||
*/
|
||||
public function user_uuid(): string {
|
||||
return $this->user_uuid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reloads the settings from the database
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue