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

Static Public Member Functions

static cityPrefix ()
 
static citySuffix ()
 
static secondaryAddress ()
 
static state ()
 
static stateAbbr ()
 
- Static Public Member Functions inherited from Faker\Provider\fr_FR\Address
static streetPrefix ()
 
static region ()
 
static department ()
 
static departmentName ()
 
static departmentNumber ()
 
- Static Public Member Functions inherited from Faker\Provider\Address
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 $cityPrefix = array('Saint-', 'Sainte-', 'St-', 'Ste-')
 
static $citySuffix
 
static $cityFormats
 
static $buildingNumber = array('#####', '####', '###', '##', '#')
 
static $streetSuffix
 
static $postcode = array('?#? #?#', '?#?#?#')
 
static $streetNameFormats
 
static $streetAddressFormats
 
static $addressFormats
 
static $secondaryAddressFormats = array('Apt. ###', 'Suite ###', 'Bureau ###')
 
static $state
 
static $stateAbbr
 
- Static Protected Attributes inherited from Faker\Provider\fr_FR\Address
static $citySuffix = array('Ville', 'Bourg', '-les-Bains', '-sur-Mer', '-la-Forêt', 'boeuf', 'nec', 'dan')
 
static $streetPrefix = array('rue', 'rue', 'chemin', 'avenue', 'boulevard', 'place', 'impasse')
 
static $cityFormats
 
static $streetNameFormats
 
static $streetAddressFormats
 
static $addressFormats
 
static $buildingNumber = array('%', '%#', '%#', '%#', '%##')
 
static $postcode = array('#####', '## ###')
 
static $country
 
static $secondaryAddressFormats = array('Apt. ###', 'Suite ###', 'Étage ###', "Bât. ###", "Chambre ###")
 
- 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

- 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)
 
- Protected Attributes inherited from Faker\Provider\Base
 $generator
 
 $unique
 

Member Data Documentation

◆ $addressFormats

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

◆ $cityFormats

Faker\Provider\fr_CA\Address::$cityFormats
staticprotected
Initial value:
= array(
'{{cityPrefix}}{{firstName}}{{citySuffix}}',
'{{cityPrefix}}{{firstName}}',
)

◆ $citySuffix

Faker\Provider\fr_CA\Address::$citySuffix
staticprotected
Initial value:
= array(
'-des-Sables', '-sur-Mer', '-des-Neiges', '-des-Sept-Douleurs', '-du-Portage', '-du-Loup', '-des-Lacs', '-de-Lessard',
'-de-Kamourasca', '-de-Témiscouata', '-de-Ladrière', '-de-Rimouski', '-de-Rivière-du-Loup', '-du-Lac', '-du-Ha! Ha!',
'-du-Lac-Long', '-de-Rioux', '-du-Squatec', '-de-Métis', '-d\'Ixworth', '-de-la-Croix', '-de-Matane', '-du-Lac-Humqui',
'-de-Mérici', '-de-la-Pocatière', '-sur-le-Lac',
'-de-Lorette', '-du-Lac-Saint-Jean', '-de-Bourget', '-de-Falardeau', '-les-Plaines', '-de-Sales', '-de-Taillon',
'-de-Milot', '-du-Nord',
'-aux-Coudres', '-des-Anges', '-de-Desmaures', '-les-Neiges', '-de-l\'Île-d\'Orléans', '-de-Valcartier',
'-de-Portneuf', '-du-Cap-Tourmente', '-des-Carrières', '-des-Caps', '-de-Beaupré', '-de-Laval', '-de-la-Jacques-Cartier',
'-d\'Auvergne',
'-de-Monteauban', '-du-Mont-Carmel', '-des-Monts', '-de-Maskinongé', '-de-Caxton', '-des-Grès', '-le-Grand',
'-de-Vincennes', '-du-Parc', '-de-Champlain', '-de-Mékinac', '-de-Prémont', '-de-la-Pérade', '-de-Batiscan',
'-Ouest', '-Est', '-Sud', '-Nord', '-des-Bois', '-de-Woburn', '-de-Brompton', '-de-Bolton', '-de-Windsor',
'-de-Clifton', '-de-Paquette', '-de-la-Rochelle', '-de-Hatley', '-de-Whitton',
'-de-Bellevue',
'-de-Buckland', '-des-Pins', '-du-Rosaire', '-d\'Issoudun', '-de-Jésus', '-d\'Irlande', '-de-l\'Isle-aux-Grues',
'-de-Tilly', '-de-Lellis', '-de-Bellechasse', '-de-Lessard', '-de-L\'Islet', '-de-Lotbinière', '-de-Beauce',
'-de-Forsyth', '-de-Panet', '-de-la-Rivière-du-Sud', '-de-Dorset', '-de-Shenley', '-de-Leeds', '-de-Wolfestown',
'-de-Joly', '-de-Brébeuf', '-de-Coleraine', '-des-Érables', '-Bretenières', '-de-Lauzon', '-de-Standon',
'-de-Gonzague', '-de-Beaurivage', '-de-Dorchester', '-de-Cranbourne', '-de-Broughton', '-de-la-Rivière-du-Sud',
'-des-Aulnaies', '-les-Mines', '-de-Lotbinière', '-de-Patton', '-sur-Rivière-du-Sud', '-de-Beauregard', '-de-Watford'
)

The suffixes come from this list of communities in Québec http://fr.wikipedia.org/wiki/Liste_des_municipalités_locales_du_Québec

◆ $state

Faker\Provider\fr_CA\Address::$state
staticprotected
Initial value:
= array(
'Alberta', 'Colombie-Britannique', 'Manitoba', 'Nouveau-Brunswick', 'Terre-Neuve-et-Labrador', 'Nouvelle-Écosse', 'Ontario', 'Île-du-Prince-Édouard', 'Québec', 'Saskatchewan'
)

◆ $stateAbbr

Faker\Provider\fr_CA\Address::$stateAbbr
staticprotected
Initial value:
= array(
'AB', 'BC', 'MB', 'NB', 'NL', 'NS', 'ON', 'PE', 'QC', 'SK'
)

◆ $streetAddressFormats

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

◆ $streetNameFormats

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

◆ $streetSuffix

Faker\Provider\fr_CA\Address::$streetSuffix
staticprotected
Initial value:
= array(
'Autoroute', 'Avenue', 'Boulevard', 'Chemin', 'Route', 'Rue', 'Pont'
)

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