Skip to content

Commit

Permalink
Merge pull request #2 from wysow/fix/generate-script
Browse files Browse the repository at this point in the history
Fixing generate script to use new name of CountryRepository class
  • Loading branch information
bojanz committed Sep 26, 2014
2 parents 1c1943c + e8fd276 commit 0ee4d87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/generate.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@

include '../vendor/autoload.php';

use CommerceGuys\Intl\Country\DefaultCountryManager;
use CommerceGuys\Intl\Country\CountryRepository;
use CommerceGuys\Addressing\Metadata\AddressFormat;

$countryManager = new DefaultCountryManager();
$countries = $countryManager->getAll();
$countryRepository = new CountryRepository();
$countries = $countryRepository->getAll();
$service_url = 'http://i18napis.appspot.com/address';
if (!is_dir('address_format')) {
die('Could not find the empty address_format/ folder, please create it.');
Expand Down

0 comments on commit 0ee4d87

Please sign in to comment.