protected function stashRecord(Repository $repository, Record $record) { $msg = trim('Preparing record ' . $record->getID()) . ' - ' . $record->getName(); if ($this->isNewerRevisionUpdateProtection()) { if ($this->gotNewerRevision($repository, $record)) { return 'Skipping record ' . $record->getID() . ' - ' . $record->getName() . ' (Newer Revision)'; } } if ($this->isPropertyChangesCheck() == false || $this->hasChanged($repository, $record)) { $this->stash[] = $record; $this->count++; } else { $msg = 'Skipping record ' . $record->getID() . ' - ' . $record->getName() . ' (No changes)'; } return $msg; }