protected function FeedsExJsonPathLines::cleanUp in Feeds extensible parsers 7
Same name and namespace in other branches
- 7.2 src/FeedsExJsonPathLines.inc \FeedsExJsonPathLines::cleanUp()
Allows subclasses to cleanup after parsing.
Parameters
FeedsSource $source: The feed source.
FeedsParserResult $parser_result: The result of parsing.
Overrides FeedsExJsonPath::cleanUp
File
- src/
FeedsExJsonPathLines.inc, line 72 - Contains FeedsExJsonPathLines.
Class
- FeedsExJsonPathLines
- Parses the JSON Lines format via JSONPath.
Code
protected function cleanUp(FeedsSource $source, FeedsParserResult $result) {
$source
->state(FEEDS_PARSE)->pointer = $this->iterator
->ftell();
unset($this->iterator);
parent::cleanUp($source, $result);
}