You are here

protected function FeedsHTTPFetcher::subscriber in Feeds 8.2

Convenience method for instantiating a subscriber object.

File

lib/Drupal/feeds/Plugin/feeds/fetcher/FeedsHTTPFetcher.php, line 236
Contains \Drupal\feeds\Plugin\feeds\fetcher\FeedsHTTPFetcher.

Class

FeedsHTTPFetcher
Defines an HTTP fetcher.

Namespace

Drupal\feeds\Plugin\feeds\fetcher

Code

protected function subscriber($subscriber_id) {
  return PushSubscriber::instance($this->id, $subscriber_id, 'Drupal\\feeds\\PuSHSubscription', PuSHEnvironment::instance());
}