class ParserResult in Feeds 8.3
The result of a parsing stage.
Hierarchy
- class \Drupal\feeds\Result\ParserResult extends \Drupal\feeds\Result\SplDoublyLinkedList implements ParserResultInterface
Expanded class hierarchy of ParserResult
10 files declare their use of ParserResult
- AfterParseBaseTest.php in tests/
src/ Unit/ EventSubscriber/ AfterParseBaseTest.php - CsvParser.php in src/
Feeds/ Parser/ CsvParser.php - FeedRefreshTest.php in tests/
src/ Unit/ Plugin/ QueueWorker/ FeedRefreshTest.php - FeedsExecutableTest.php in tests/
src/ Unit/ FeedsExecutableTest.php - LazySubscriberTest.php in tests/
src/ Unit/ EventSubscriber/ LazySubscriberTest.php
File
- src/
Result/ ParserResult.php, line 10
Namespace
Drupal\feeds\ResultView source
class ParserResult extends \SplDoublyLinkedList implements ParserResultInterface {
/**
* {@inheritdoc}
*/
public function addItem(ItemInterface $item) {
$this
->push($item);
return $this;
}
/**
* {@inheritdoc}
*/
public function addItems(array $items) {
foreach ($items as $item) {
$this
->push($item);
}
return $this;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ParserResult:: |
public | function |
Adds an item to the result. Overrides ParserResultInterface:: |
|
ParserResult:: |
public | function |
Adds a list of items to the result. Overrides ParserResultInterface:: |