You are here

public function Subscriber::addHubUrls 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::addHubUrls()

Add an array of Hub Server URLs supported by Publisher

Parameters

array $urls:

Return value

Subscriber

1 call to Subscriber::addHubUrls()
Subscriber::setOptions in vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php
Process any injected configuration options

File

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

Class

Subscriber

Namespace

Zend\Feed\PubSubHubbub

Code

public function addHubUrls(array $urls) {
  foreach ($urls as $url) {
    $this
      ->addHubUrl($url);
  }
  return $this;
}