You are here

public function WSCall::setEndpoint in Web Service Data 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/WSCall.php \Drupal\wsdata\Entity\WSCall::setEndpoint()

Override the endpoint in the active wsserver.

Overrides WSCallInterface::setEndpoint

File

src/Entity/WSCall.php, line 99

Class

WSCall
Defines the Web Service Call entity.

Namespace

Drupal\wsdata\Entity

Code

public function setEndpoint($endpoint) {
  if ($this->wsserverInst) {
    $this->wsserverInst
      ->setEndpoint($endpoint);
  }
}