You are here

public function WSClientServiceDescription::endpoint in Web service client 7

Returns the associated web service endpoint object.

Return value

WSClientEndpointInterface

1 call to WSClientServiceDescription::endpoint()
WSClientServiceDescription::access in ./wsclient.inc
Determines access to the web service.

File

./wsclient.inc, line 111
Web service client - include file.

Class

WSClientServiceDescription
Class representing web service descriptions.

Code

public function endpoint() {
  if (!isset($this->endpoint)) {
    $types = wsclient_get_types();
    $this->endpoint = new $types[$this->type]['class']($this);
  }
  return $this->endpoint;
}