Services\Synchronize::syncFromRemote PHP Méthode

syncFromRemote() public méthode

public syncFromRemote ( $current_time, $restore_file, $input )
    public function syncFromRemote($current_time, $restore_file, $input)
    {
        try {
            $client = $this->authorizeRemote($input);
            $response = $client->post('backend/synchronize/syncToFile')->setResponseBody($restore_file)->send();
        } catch (Exception $e) {
            throw new Exception($e->getMessage());
        }
    }