mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-22 00:09:59 +01:00
added links to pt_PT adress
This commit is contained in:
parent
8dcc652859
commit
d0d712a0d6
@ -20,10 +20,12 @@ class Address extends \Faker\Provider\Address
|
||||
'{{streetName}}, {{buildingNumber}}, {{secondaryAddress}}',
|
||||
);
|
||||
|
||||
/** @link http://www.univ-ab.pt/PINTAC/carta_normas.htm address example in letters **/
|
||||
protected static $addressFormats = array(
|
||||
"{{streetAddress}}\n{{postcode}} {{city}}",
|
||||
);
|
||||
|
||||
/** @link http://www.mapadeportugal.net/indicecidades.asp **/
|
||||
private static $cities = array(
|
||||
'Abrantes', 'Agualva-Cacém', 'Águeda', 'Albufeira', 'Alcácer do Sal', 'Alcobaça', 'Almada', 'Almeirim', 'Alverca do Ribatejo', 'Amadora', 'Amarante', 'Amora', 'Anadia', 'Angra do Heroísmo', 'Aveiro', 'Barcelos', 'Barreiro',
|
||||
'Beja', 'Braga', 'Bragança', 'Caldas da Rainha', 'Camara de Lobos', 'Cantanhede', 'Cartaxo', 'Castelo Branco', 'Chaves', 'Coimbra', 'Covilhã', 'Elvas', 'Entroncamento', 'Ermesinde', 'Esmoriz', 'Espinho', 'Esposende', 'Estarreja',
|
||||
@ -59,7 +61,8 @@ class Address extends \Faker\Provider\Address
|
||||
{
|
||||
return static::numerify(static::randomElement(static::$secondaryAddressFormats));
|
||||
}
|
||||
|
||||
|
||||
/** @link http://www.indexmundi.com/pt/ **/
|
||||
protected static $country = array(
|
||||
'Afeganistão', 'África do Sul', 'Albânia', 'Alemanha', 'Andorra',
|
||||
'Angola', 'Antigua e Barbuda', 'Arabia Saudita', 'Argélia',
|
||||
|
Loading…
x
Reference in New Issue
Block a user