Controller/Adminhtml/FastlyCdn/Blocking/Blocking.php
private function prepareCountryCodes($blockedCountries)
    {
        $result = '';

        if ($blockedCountries != null) {
            $blockedCountriesPieces = explode(",", $blockedCountries);
            foreach ($blockedCountriesPieces as $code) {
                $result .= ' client.geo.country_code == "' . $code . '" ||';
            }
        }

        return $result;
    }
private function prepareCountryCodes($blockedCountries)
    {
        $result = '';

        if ($blockedCountries != null) {
            $blockedCountriesPieces = explode(",", $blockedCountries);
            foreach ($blockedCountriesPieces as $code) {
                $result .= ' client.geo.country_code == "' . $code . '" ||';
            }
        }

        return $result;
    }
private function prepareCountryCodes ( $ blockedCountries ) { $ result = '' ; if ( $ blockedCountries != null ) { $ blockedCountriesPieces = explode ( "," , $ blockedCountries ) ; foreach ( $ blockedCountriesPieces as $ code ) { $ result .= ' client.geo.country_code == "' . $ code . '" ||' ; } } return $ result ; }
Prepares blocked countries VCL snippet

@param $blockedCountries
@return string
Prepares blocked countries VCL snippet