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…
Reference in New Issue