protected function FeedsCrawlerBase::endFetch in Feeds Crawler 7.2
Called after fetching the next link.
Parameters
FeedsSource $source: The feed source.
FeedsState $state: The state object.
1 call to FeedsCrawlerBase::endFetch()
File
- src/
FeedsCrawlerBase.php, line 191 - Contains FeedsCrawler.
Class
- FeedsCrawlerBase
- The fetcher class that implements crawling.
Code
protected function endFetch(FeedsSource $source, FeedsState $state) {
$state->count--;
$state
->progress($state->total, $state->total - $state->count);
}