You are here

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

Returns a boolean indicator of whether the notifications to Hub Servers were ALL successful. If even one failed, FALSE is returned.

Return value

bool

File

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

Class

Subscriber

Namespace

Zend\Feed\PubSubHubbub

Code

public function isSuccess() {
  if (count($this->errors) > 0) {
    return false;
  }
  return true;
}