You are here

public function Publisher::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/PubSubHubbub/Publisher.php \Zend\Feed\PubSubHubbub\Publisher::__construct()

Constructor; accepts an array or Zend\Config\Config instance to preset options for the Publisher without calling all supported setter methods in turn.

Parameters

array|Traversable $options:

File

vendor/zendframework/zend-feed/src/PubSubHubbub/Publisher.php, line 58

Class

Publisher

Namespace

Zend\Feed\PubSubHubbub

Code

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