You are here

abstract public function FeedsFetcher::fetch in Feeds 8.2

Fetch content from a source and return it.

Every class that extends FeedsFetcher must implement this method.

Parameters

$source: Source value as entered by user through sourceForm().

Return value

A FeedsFetcherResult object.

2 methods override FeedsFetcher::fetch()
FeedsFileFetcher::fetch in lib/Drupal/feeds/Plugin/feeds/fetcher/FeedsFileFetcher.php
Implements FeedsFetcher::fetch().
FeedsHTTPFetcher::fetch in lib/Drupal/feeds/Plugin/feeds/fetcher/FeedsHTTPFetcher.php
Implements FeedsFetcher::fetch().

File

lib/Drupal/feeds/Plugin/FeedsFetcher.php, line 38
Contains the FeedsFetcher and related classes.

Class

FeedsFetcher
Abstract class, defines shared functionality between fetchers.

Namespace

Drupal\feeds\Plugin

Code

public abstract function fetch(FeedsSource $source);