Lggr
Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
Faker\Provider\it_CH\Address Class Reference
Inheritance diagram for Faker\Provider\it_CH\Address:
Inheritance graph
[legend]
Collaboration diagram for Faker\Provider\it_CH\Address:
Collaboration graph
[legend]

Public Member Functions

 cityName ()
 
- Public Member Functions inherited from Faker\Provider\Address
 city ()
 
 streetName ()
 
 streetAddress ()
 
 address ()
 
- Public Member Functions inherited from Faker\Provider\Base
 __construct (Generator $generator)
 
 optional ($weight=0.5, $default=null)
 
 unique ($reset=false, $maxRetries=10000)
 
 valid ($validator=null, $maxRetries=10000)
 

Static Public Member Functions

static streetPrefix ()
 
static canton ()
 
static cantonShort ()
 
static cantonName ()
 
- Static Public Member Functions inherited from Faker\Provider\it_IT\Address
static cityPrefix ()
 
static secondaryAddress ()
 
static state ()
 
static stateAbbr ()
 
- Static Public Member Functions inherited from Faker\Provider\Address
static citySuffix ()
 
static streetSuffix ()
 
static buildingNumber ()
 
static postcode ()
 
static country ()
 
static latitude ($min=-90, $max=90)
 
static longitude ($min=-180, $max=180)
 
static localCoordinates ()
 
- Static Public Member Functions inherited from Faker\Provider\Base
static randomDigit ()
 
static randomDigitNotNull ()
 
static randomDigitNot ($except)
 
static randomNumber ($nbDigits=null, $strict=false)
 
static randomFloat ($nbMaxDecimals=null, $min=0, $max=null)
 
static numberBetween ($int1=0, $int2=2147483647)
 
static passthrough ($value)
 
static randomLetter ()
 
static randomAscii ()
 
static randomElements ($array=array('a', 'b', 'c'), $count=1, $allowDuplicates=false)
 
static randomElement ($array=array('a', 'b', 'c'))
 
static randomKey ($array=array())
 
static shuffle ($arg='')
 
static shuffleArray ($array=array())
 
static shuffleString ($string='', $encoding='UTF-8')
 
static numerify ($string='###')
 
static lexify ($string='????')
 
static bothify ($string='## ??')
 
static asciify ($string=' ****')
 
static regexify ($regex='')
 
static toLower ($string='')
 
static toUpper ($string='')
 

Static Protected Attributes

static $buildingNumber = array('###', '##', '#', '#a', '#b', '#c')
 
static $streetPrefix = array('Piazza', 'Strada', 'Via', 'Borgo', 'Contrada', 'Rotonda', 'Incrocio')
 
static $postcode = array('####')
 
static $cityNames
 
static $canton
 
static $cityFormats
 
static $streetNameFormats
 
static $streetAddressFormats
 
static $addressFormats
 
- Static Protected Attributes inherited from Faker\Provider\it_IT\Address
static $cityPrefix = array('San', 'Borgo', 'Sesto', 'Quarto', 'Settimo')
 
static $citySuffix = array('a mare', 'lido', 'ligure', 'del friuli', 'salentino', 'calabro', 'veneto', 'nell\'emilia', 'umbro', 'laziale', 'terme', 'sardo')
 
static $buildingNumber = array('###', '##', '#')
 
static $streetSuffix
 
static $postcode = array('#####')
 
static $state
 
static $stateAbbr
 
static $country
 
static $cityFormats
 
static $streetNameFormats
 
static $streetAddressFormats
 
static $addressFormats
 
static $secondaryAddressFormats = array('Appartamento ##', 'Piano #')
 
- Static Protected Attributes inherited from Faker\Provider\Address
static $citySuffix = array('Ville')
 
static $streetSuffix = array('Street')
 
static $cityFormats
 
static $streetNameFormats
 
static $streetAddressFormats
 
static $addressFormats
 
static $buildingNumber = array('%#')
 
static $postcode = array('#####')
 
static $country = array()
 

Additional Inherited Members

- Protected Attributes inherited from Faker\Provider\Base
 $generator
 
 $unique
 

Member Function Documentation

◆ cantonName()

static Faker\Provider\it_CH\Address::cantonName ( )
static

Returns the name of canton.

Returns
string

◆ cantonShort()

static Faker\Provider\it_CH\Address::cantonShort ( )
static

Returns the abbreviation of a canton.

Returns
string

Member Data Documentation

◆ $addressFormats

Faker\Provider\it_CH\Address::$addressFormats
staticprotected
Initial value:
= array(
"{{streetAddress}}\n{{postcode}} {{city}}",
)

◆ $canton

Faker\Provider\it_CH\Address::$canton
staticprotected
Initial value:
= array(
array('AG' => 'Argovia'),
array('AI' => 'Appenzello Interno'),
array('AR' => 'Appenzello Esterno'),
array('BE' => 'Berna'),
array('BL' => 'Basilea Campagna'),
array('BS' => 'Basilea Città'),
array('FR' => 'Friburgo'),
array('GE' => 'Ginevra'),
array('GL' => 'Glarona'),
array('GR' => 'Grigioni'),
array('JU' => 'Giura'),
array('LU' => 'Lucerna'),
array('NE' => 'Neuchâtel'),
array('NW' => 'Nidvaldo'),
array('OW' => 'Obvaldo'),
array('SG' => 'San Gallo'),
array('SH' => 'Sciaffusa'),
array('SO' => 'Soletta'),
array('SZ' => 'Svitto'),
array('TG' => 'Turgovia'),
array('TI' => 'Ticino'),
array('UR' => 'Uri'),
array('VD' => 'Vaud'),
array('VS' => 'Vallese'),
array('ZG' => 'Zugo'),
array('ZH' => 'Zurigo')
)

https://it.wikipedia.org/wiki/Cantoni_della_Svizzera

◆ $cityFormats

Faker\Provider\it_CH\Address::$cityFormats
staticprotected
Initial value:
= array(
'{{cityName}}',
)

◆ $cityNames

Faker\Provider\it_CH\Address::$cityNames
staticprotected
Initial value:
= array(
'Aarau', 'Adliswil', 'Aesch', 'Affoltern am Albis', 'Allschwil', 'Altstätten', 'Amriswil', 'Arbon', 'Arth',
'Baar', 'Baden', 'Basilea', 'Bassersdorf', 'Bellinzona', 'Belp', 'Berna', 'Bienne', 'Binningen', 'Birsfelden', 'Briga-Glis', 'Brugg', 'Buchs', 'Bulle', 'Burgdorf', 'Bülach',
'Carouge', 'Cham', 'Chêne-Bougeries', 'Coira',
'Davos', 'Delémont', 'Dietikon', 'Dübendorf', 'Ebikon',
'Ecublens', 'Einsiedeln', 'Emmen',
'Frauenfeld', 'Freienbach', 'Friburgo',
'Ginevra', 'Gland', 'Gossau', 'Grenchen',
'Herisau', 'Hinwil', 'Horgen', 'Horw',
'Illnau-Effretikon', 'Ittigen',
'Kloten', 'Kreuzlingen', 'Kriens', 'Köniz', 'Küsnacht', 'Küssnacht',
'La Chaux-de-Fonds', 'La Tour-de-Peilz', 'Lancy', 'Langenthal', 'Le Grand-Saconnex', 'Le Locle', 'Liestal', 'Locarno', 'Losanna', 'Lucerna', 'Lugano', 'Lyss',
'Martigny', 'Meilen', 'Mendrisio', 'Meyrin', 'Monthey', 'Montreux', 'Morges', 'Muri bei Bern', 'Muttenz', 'Männedorf', 'Möhlin', 'Münchenstein', 'Münsingen',
'Neuchâtel', 'Neuhausen am Rheinfall', 'Nyon',
'Oberwil', 'Oftringen', 'Olten', 'Onex', 'Opfikon', 'Ostermundigen',
'Pfäffikon', 'Pratteln', 'Prilly', 'Pully',
'Rapperswil-Jona', 'Regensdorf', 'Reinach', 'Renens', 'Rheinfelden', 'Richterswil', 'Riehen', 'Rüti',
'San Gallo', 'Schlieren', 'Sciaffusa', 'Sierre', 'Sion', 'Soletta', 'Spiez', 'Spreitenbach', 'Steffisburg', 'Stäfa', 'Svitto',
'Thalwil', 'Thun', 'Thônex',
'Uster', 'Uzwil',
'Val-de-Travers', 'Vernier', 'Versoix', 'Vevey', 'Veyrier', 'Villars-sur-Glâne', 'Volketswil',
'Wallisellen', 'Weinfelden', 'Wettingen', 'Wetzikon', 'Wil', 'Winterthur', 'Wohlen', 'Worb', 'Wädenswil',
'Yverdon-les-Bains',
'Zofingen', 'Zollikon', 'Zugo', 'Zurigo'
)

https://it.wikipedia.org/wiki/Citt%C3%A0_svizzere

◆ $streetAddressFormats

Faker\Provider\it_CH\Address::$streetAddressFormats
staticprotected
Initial value:
= array(
'{{streetName}} {{buildingNumber}}',
)

◆ $streetNameFormats

Faker\Provider\it_CH\Address::$streetNameFormats
staticprotected
Initial value:
= array(
'{{streetSuffix}} {{firstName}}',
'{{streetSuffix}} {{lastName}}'
)

The documentation for this class was generated from the following file: