BloomFeed Addons v0.22
This commit is contained in:
1 parent
c4d1308497
commit
d58f2195f5
22 files changed
+832
-7
No files matched your search
@@ -13,6 +13,10 @@ use Throwable;
|
||||
|
||||
class FeedFetcherService
|
||||
{
|
||||
public function __construct(private readonly NotifierDispatchService $notifier)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetch, parse and store new articles for a single feed.
|
||||
*
|
||||
@@ -66,6 +70,8 @@ class FeedFetcherService
|
||||
$article->feed()->associate($feed);
|
||||
$article->save();
|
||||
|
||||
$this->notifier->notifyNewArticle($article);
|
||||
|
||||
$newCount++;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user