public function __construct()
{
if (class_exists('\\CommerceGuys\\Intl\\Country\\CountryRepository')) {
$this->countryRepository = new \CommerceGuys\Intl\Country\CountryRepository();
} elseif (class_exists('\\Symfony\\Component\\Intl\\Intl')) {
$this->regionBundle = \Symfony\Component\Intl\Intl::getRegionBundle();
} else {
throw new \RuntimeException('No source of country data found: symfony/intl or commerceguys/intl must be installed.');
}
}