protected function createCurrentPollTask($invocationId, $highestCommitedUSN, $rootDseDnsHostName, $lastSuccessfulPollTask, $isFullSync)
    {
        $currentTask = new PollTask(
            $this->name,
            $invocationId,
            $highestCommitedUSN,
            $rootDseDnsHostName,
            $lastSuccessfulPollTask,
            $isFullSync
        );

        return $currentTask;
    }
protected function createCurrentPollTask($invocationId, $highestCommitedUSN, $rootDseDnsHostName, $lastSuccessfulPollTask, $isFullSync)
    {
        $currentTask = new PollTask(
            $this->name,
            $invocationId,
            $highestCommitedUSN,
            $rootDseDnsHostName,
            $lastSuccessfulPollTask,
            $isFullSync
        );

        return $currentTask;
    }
protected function createCurrentPollTask ( $ invocationId , $ highestCommitedUSN , $ rootDseDnsHostName , $ lastSuccessfulPollTask , $ isFullSync ) { $ currentTask = new PollTask ( $ this -> name , $ invocationId , $ highestCommitedUSN , $ rootDseDnsHostName , $ lastSuccessfulPollTask , $ isFullSync ) ; return $ currentTask ; }
Creates poll task entity for current sync

@param string   $invocationId
@param integer  $highestCommitedUSN
@param string   $rootDseDnsHostName
@param PollTask $lastSuccessfulPollTask
@param bool     $isFullSync

@return PollTask
Creates poll task entity for current sync