models/classes/runner/time/QtiTimeConstraint.php
public function getMinimumRemainingTime()
    {
        if (($timeLimits = $this->getSource()->getTimeLimits()) !== null && ($minTime = $timeLimits->getMinTime()) !== null) {
            return $this->getRemainingTimeFrom($minTime);
        }
        return false;
    }
public function getMinimumRemainingTime()
    {
        if (($timeLimits = $this->getSource()->getTimeLimits()) !== null && ($minTime = $timeLimits->getMinTime()) !== null) {
            return $this->getRemainingTimeFrom($minTime);
        }
        return false;
    }
Get the time remaining the candidate has to spend by the candidate on the source of the time
constraint. Please note that this method will never return negative durations.

@return Duration A Duration object or null if there is no minTime constraint running for the source of the time constraint.