private function fullSync(PollTask $currentTask, $highestCommitedUSN)
    {
        $entries = $this->fetcher->fullFetch($highestCommitedUSN);
        $this->synchronizer->fullSync($this->name, $currentTask->getId(), $entries);
        $this->logFullSync($entries);

        return count($entries);
    }
private function fullSync(PollTask $currentTask, $highestCommitedUSN)
    {
        $entries = $this->fetcher->fullFetch($highestCommitedUSN);
        $this->synchronizer->fullSync($this->name, $currentTask->getId(), $entries);
        $this->logFullSync($entries);

        return count($entries);
    }
private function fullSync ( PollTask $ currentTask , $ highestCommitedUSN ) { $ entries = $ this -> fetcher -> fullFetch ( $ highestCommitedUSN ) ; $ this -> synchronizer -> fullSync ( $ this -> name , $ currentTask -> getId ( ) , $ entries ) ; $ this -> logFullSync ( $ entries ) ; return count ( $ entries ) ; }
Performs full sync

@param PollTask $currentTask
@param integer  $highestCommitedUSN max usnChanged value to restrict objects search

@return int count of synced entries
Performs full sync