public function Subscriber::removeHubUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php \Zend\Feed\PubSubHubbub\Subscriber::removeHubUrl()
Remove a Hub Server URL
Parameters
string $url:
Return value
File
- vendor/
zendframework/ zend-feed/ src/ PubSubHubbub/ Subscriber.php, line 358
Class
Namespace
Zend\Feed\PubSubHubbubCode
public function removeHubUrl($url) {
if (!in_array($url, $this
->getHubUrls())) {
return $this;
}
$key = array_search($url, $this->hubUrls);
unset($this->hubUrls[$key]);
return $this;
}