Documentation

ResetErrorArticles

Use case for resetting error-marked articles.

Articles are marked as errors by prepending a space to their link. This use case removes that marker to allow reimport attempts.

Tags
since
3.0.0

Table of Contents

Properties

$articleRepository  : ArticleRepositoryInterface

Methods

__construct()  : mixed
Constructor.
execute()  : int
Execute the use case.
executeForFeed()  : int
Reset errors for a single feed.

Properties

Methods

execute()

Execute the use case.

public execute(array<string|int, int> $feedIds) : int
Parameters
$feedIds : array<string|int, int>

Feed IDs to reset error articles for

Return values
int

Number of reset articles

executeForFeed()

Reset errors for a single feed.

public executeForFeed(int $feedId) : int
Parameters
$feedId : int

Feed ID

Return values
int

Number of reset articles


        
On this page

Search results