You are here

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

Constructor; accepts an array or Traversable instance to preset options for the Subscriber without calling all supported setter methods in turn.

Parameters

array|Traversable $options:

File

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

Class

Subscriber

Namespace

Zend\Feed\PubSubHubbub

Code

public function __construct($options = null) {
  if ($options !== null) {
    $this
      ->setOptions($options);
  }
}