Copied!

NoReviewActivitySinceCriterion

NoReviewActivitySinceCriterion.php : 19
Read-only
Final
Implements CriterionInterface

Matches translations still waiting for acceptance with no review activity after the given moment. The translation's own creation counts as the first activity, so an item created after the moment never matches. Later activity means review log operations only, including a rejection, which restarts the waiting; content edits and new versions do not count.

Methods

public__construct()

NoReviewActivitySinceCriterion.php : 21
public __construct(DateTimeImmutable $threshold)

Parameters

Name Type Default value Description
$threshold DateTimeImmutable - -

publicgetThreshold()

NoReviewActivitySinceCriterion.php : 25
public getThreshold() : DateTimeImmutable

Return values

DateTimeImmutable