You are here

protected function ParserBase::setUp in Feeds extensible parsers 8

Allows subclasses to prepare for parsing.

Parameters

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

\Drupal\feeds\Result\FetcherResultInterface $fetcher_result: The result of the fetching stage.

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

2 calls to ParserBase::setUp()
JmesPathLinesParser::setUp in src/Feeds/Parser/JmesPathLinesParser.php
Allows subclasses to prepare for parsing.
ParserBase::parse in src/Feeds/Parser/ParserBase.php
Parses content returned by fetcher.
3 methods override ParserBase::setUp()
JmesPathLinesParser::setUp in src/Feeds/Parser/JmesPathLinesParser.php
Allows subclasses to prepare for parsing.
JsonPathLinesParser::setUp in src/Feeds/Parser/JsonPathLinesParser.php
Allows subclasses to prepare for parsing.
XmlParser::setUp in src/Feeds/Parser/XmlParser.php
Allows subclasses to prepare for parsing.

File

src/Feeds/Parser/ParserBase.php, line 148

Class

ParserBase
The Feeds extensible parser.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

protected function setUp(FeedInterface $feed, FetcherResultInterface $fetcher_result, StateInterface $state) {
}