public function all(array $params = array())
    {
        $endpoint = '/admin/countries.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Country::class, $response['countries']);
    }
public function all(array $params = array())
    {
        $endpoint = '/admin/countries.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createCollection(Country::class, $response['countries']);
    }
public function all ( array $ params = array ( ) ) { $ endpoint = '/admin/countries.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createCollection ( Country :: class , $ response [ 'countries' ] ) ; }
Receive a list of countries

@link   https://help.shopify.com/api/reference/country#index
@param  array $params
@return Country[]
Receive a list of countries