You are here

public function ParserInterface::parse in Feeds 8.3

Parses content returned by fetcher.

@todo This needs more documentation.

Parameters

\Drupal\feeds\FeedInterface $feed: The feed we are parsing for.

\Drupal\feeds\Result\FetcherResultInterface $fetcher_result: The result returned by the fetcher.

\Drupal\feeds\StateInterface $state: The state object.

Return value

\Drupal\feeds\Result\ParserResultInterface The parser result object.

5 methods override ParserInterface::parse()
CsvParser::parse in src/Feeds/Parser/CsvParser.php
Parses content returned by fetcher.
OpmlParser::parse in src/Feeds/Parser/OpmlParser.php
Parses content returned by fetcher.
ParserWithMappingForm::parse in tests/modules/feeds_test_plugin/src/Feeds/Parser/ParserWithMappingForm.php
Parses content returned by fetcher.
SitemapParser::parse in src/Feeds/Parser/SitemapParser.php
Parses content returned by fetcher.
SyndicationParser::parse in src/Feeds/Parser/SyndicationParser.php
Parses content returned by fetcher.

File

src/Plugin/Type/Parser/ParserInterface.php, line 30

Class

ParserInterface
The interface Feeds parser must implement.

Namespace

Drupal\feeds\Plugin\Type\Parser

Code

public function parse(FeedInterface $feed, FetcherResultInterface $fetcher_result, StateInterface $state);