protected function RestIncidentStorage::clearIncidentStorage in Radioactivity 4.0.x
Same name and namespace in other branches
- 8.3 src/RestIncidentStorage.php \Drupal\radioactivity\RestIncidentStorage::clearIncidentStorage()
Deletes all incidents from the storage.
1 call to RestIncidentStorage::clearIncidentStorage()
- RestIncidentStorage::clearIncidents in src/
RestIncidentStorage.php - Clears the incident storage.
File
- src/
RestIncidentStorage.php, line 122
Class
- RestIncidentStorage
- Defines a REST incident storage.
Namespace
Drupal\radioactivityCode
protected function clearIncidentStorage() {
file_get_contents("{$this->getEndpoint()}?clear");
}