public function addLocaleToJobSync($jobId, $localeId, AddLocaleToJobParameters $parameters)
    {
        $endpoint = vsprintf('jobs/%s/locales/%s', [$jobId, $localeId]);
        $requestData = $this->getDefaultRequestData('json', $parameters->exportToArray());
        $this->wait($this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_POST));
    }
public function addLocaleToJobSync($jobId, $localeId, AddLocaleToJobParameters $parameters)
    {
        $endpoint = vsprintf('jobs/%s/locales/%s', [$jobId, $localeId]);
        $requestData = $this->getDefaultRequestData('json', $parameters->exportToArray());
        $this->wait($this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_POST));
    }
public function addLocaleToJobSync ( $ jobId , $ localeId , AddLocaleToJobParameters $ parameters ) { $ endpoint = vsprintf ( 'jobs/%s/locales/%s' , [ $ jobId , $ localeId ] ) ; $ requestData = $ this -> getDefaultRequestData ( 'json' , $ parameters -> exportToArray ( ) ) ; $ this -> wait ( $ this -> sendRequest ( $ endpoint , $ requestData , self :: HTTP_METHOD_POST ) ) ; }
Adds locale to a job synchronously.

@param string $jobId
@param string $localeId
@param AddLocaleToJobParameters $parameters
@throws SmartlingApiException
Adds locale to a job synchronously .