You are here

public function RestIncidentStorage::setEndpoint in Radioactivity 8.3

Same name and namespace in other branches
  1. 4.0.x src/RestIncidentStorage.php \Drupal\radioactivity\RestIncidentStorage::setEndpoint()

Sets the REST endpoint URL.

Parameters

string|null $endpoint: The endpoint URL to override the default. Null to return to the default.

Overrides RestIncidentStorageInterface::setEndpoint

File

src/RestIncidentStorage.php, line 79

Class

RestIncidentStorage
Defines a REST incident storage.

Namespace

Drupal\radioactivity

Code

public function setEndpoint($endpoint = NULL) {
  $this->endpoint = $endpoint;
}