Infusionsoft_ContactGroupAssignDataService::removeRecordsForContactsAlreadyProcessed PHP Method

removeRecordsForContactsAlreadyProcessed() public static method

public static removeRecordsForContactsAlreadyProcessed ( $lastProcessedContactId, &$results )
$results
    public static function removeRecordsForContactsAlreadyProcessed($lastProcessedContactId, &$results)
    {
        /** @var Infusionsoft_ContactGroupAssign $result */
        foreach ($results as $key => $result) {
            if ($result->ContactId <= $lastProcessedContactId) {
                unset($results[$key]);
            } else {
                return;
            }
        }
    }