You are here

public function PuSHSubscription::__construct in Feeds 8.2

Create a subscription.

Overrides PuSHSubscriptionInterface::__construct

File

lib/Drupal/feeds/PuSHSubscription.php, line 31

Class

PuSHSubscription
Implement a PuSHSubscriptionInterface.

Namespace

Drupal\feeds

Code

public function __construct($domain, $subscriber_id, $hub, $topic, $secret, $status = '', $post_fields = '') {
  $this->domain = $domain;
  $this->subscriber_id = $subscriber_id;
  $this->hub = $hub;
  $this->topic = $topic;
  $this->status = $status;
  $this->secret = $secret;
  $this->post_fields = $post_fields;
}