public function matchContext($contextUid, MatchContextParameters $params = null)
    {
        $endpoint = vsprintf('contexts/%s/match/async', $contextUid);
        $requestData = $this->getDefaultRequestData('json', is_null($params) ? [] : $params->exportToArray());

        return $this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_POST);
    }
public function matchContext($contextUid, MatchContextParameters $params = null)
    {
        $endpoint = vsprintf('contexts/%s/match/async', $contextUid);
        $requestData = $this->getDefaultRequestData('json', is_null($params) ? [] : $params->exportToArray());

        return $this->sendRequest($endpoint, $requestData, self::HTTP_METHOD_POST);
    }
public function matchContext ( $ contextUid , MatchContextParameters $ params = null ) { $ endpoint = vsprintf ( 'contexts/%s/match/async' , $ contextUid ) ; $ requestData = $ this -> getDefaultRequestData ( 'json' , is_null ( $ params ) ? [ ] : $ params -> exportToArray ( ) ) ; return $ this -> sendRequest ( $ endpoint , $ requestData , self :: HTTP_METHOD_POST ) ; }
Match context async.

@param $contextUid
@param \Smartling\Context\Params\MatchContextParameters $params

@return array
@throws \Smartling\Exceptions\SmartlingApiException
Match context async .