You are here

public function AbstractFeed::addHubs in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php \Zend\Feed\Writer\AbstractFeed::addHubs()

Add Pubsubhubbub hub endpoint URLs

Parameters

array $urls:

Return value

AbstractFeed

File

vendor/zendframework/zend-feed/src/Writer/AbstractFeed.php, line 467

Class

AbstractFeed

Namespace

Zend\Feed\Writer

Code

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