You are here

public function ParserResultInterface::addItem in Feeds 8.3

Adds an item to the result.

Parameters

\Drupal\feeds\Feeds\Item\ItemInterface $item: A parsed feed item.

Return value

$this

1 method overrides ParserResultInterface::addItem()
ParserResult::addItem in src/Result/ParserResult.php
Adds an item to the result.

File

src/Result/ParserResultInterface.php, line 20

Class

ParserResultInterface
The result of a parsing stage.

Namespace

Drupal\feeds\Result

Code

public function addItem(ItemInterface $item);