mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-03-22 00:09:59 +01:00
commit
f5a9a4f78d
10
src/Faker/Provider/it_IT/Internet.php
Normal file
10
src/Faker/Provider/it_IT/Internet.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace Faker\Provider\it_IT;
|
||||
|
||||
class Internet extends \Faker\Provider\Internet
|
||||
{
|
||||
protected static $safeEmailTld = array('org', 'com', 'net', 'it');
|
||||
protected static $freeEmailDomain = array('gmail.com', 'yahoo.com', 'hotmail.com', 'email.it', 'libero.it', 'yahoo.it');
|
||||
protected static $tld = array('com', 'com', 'com', 'net', 'org', 'it', 'it', 'it');
|
||||
}
|
@ -62,7 +62,7 @@ class Person extends \Faker\Provider\Person
|
||||
'Milani', 'Pagano', 'Ruggiero', 'Sorrentino', 'D\'amico', 'Orlando', 'Damico', 'Negri'
|
||||
);
|
||||
|
||||
private static $prefix = array('Sig.', 'Dott.');
|
||||
private static $prefix = array('Sig.', 'Dott.', 'Dr.', 'Ing.');
|
||||
|
||||
private static $suffix = array();
|
||||
|
||||
|
@ -13,6 +13,11 @@ class PhoneNumber extends \Faker\Provider\PhoneNumber
|
||||
'+## ### #######',
|
||||
'+## ### ########',
|
||||
'+## #### #######',
|
||||
'+## #### ########'
|
||||
'+## #### ########',
|
||||
// According to http://it.wikipedia.org/wiki/Prefisso_telefonico#Elenco_degli_indicativi_in_Italia.2C_a_San_Marino_e_nel_Vaticano
|
||||
'0## ### ####',
|
||||
'+39 0## ### ###',
|
||||
'3## ### ###',
|
||||
'+39 3## ### ###'
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user