mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-22 13:24:24 +02:00
parent
6c0aa8dcc5
commit
8faf81dad5
@ -89,6 +89,14 @@ class MonitoringBackend implements Selectable, Queryable, ConnectionInterface
|
||||
return self::$instances[$name];
|
||||
}
|
||||
|
||||
/**
|
||||
* Clear all cached instances. Mostly for testing purposes.
|
||||
*/
|
||||
public static function clearInstances()
|
||||
{
|
||||
self::$instances = array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether this backend is of a specific type
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user