You are here

public function Subscriber::getCallbackUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php \Zend\Feed\PubSubHubbub\Subscriber::getCallbackUrl()

Get the callback URL to be used by Hub Servers when communicating with this Subscriber

Return value

string

Throws

Exception\RuntimeException

1 call to Subscriber::getCallbackUrl()
Subscriber::_getRequestParameters in vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php
Return a list of standard protocol/optional parameters for addition to client's POST body that are specific to the current Hub Server URL

File

vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php, line 275

Class

Subscriber

Namespace

Zend\Feed\PubSubHubbub

Code

public function getCallbackUrl() {
  if (empty($this->callbackUrl)) {
    throw new Exception\RuntimeException('A valid Callback URL MUST be' . ' set before attempting any operation');
  }
  return $this->callbackUrl;
}