Copied!

NotApprovedLongerThanCriterion

NotApprovedLongerThanCriterion.php : 18
Read-only
Final
Implements CriterionInterface

Matches translations that entered the queue at or before the given moment and are still waiting for acceptance. Rejections along the way do not matter: a rejected translation stays in the queue, so it keeps waiting since its creation.

Methods

public__construct()

NotApprovedLongerThanCriterion.php : 20
public __construct(DateTimeImmutable $threshold)

Parameters

Name Type Default value Description
$threshold DateTimeImmutable - -

publicgetThreshold()

NotApprovedLongerThanCriterion.php : 24
public getThreshold() : DateTimeImmutable

Return values

DateTimeImmutable