芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/vendor/fakerphp/faker/src/Faker/Provider/fr_CH/Address.php
'Argovie'], ['AI' => 'Appenzell Rhodes-Intérieures'], ['AR' => 'Appenzell Rhodes-Extérieures'], ['BE' => 'Berne'], ['BL' => 'Bâle-Campagne'], ['BS' => 'Bâle-Ville'], ['FR' => 'Fribourg'], ['GE' => 'Genève'], ['GL' => 'Glaris'], ['GR' => 'Grisons'], ['JU' => 'Jura'], ['LU' => 'Lucerne'], ['NE' => 'Neuchâtel'], ['NW' => 'Nidwald'], ['OW' => 'Obwald'], ['SG' => 'Saint-Gall'], ['SH' => 'Schaffhouse'], ['SO' => 'Soleure'], ['SZ' => 'Schwytz'], ['TG' => 'Thurgovie'], ['TI' => 'Tessin'], ['UR' => 'Uri'], ['VD' => 'Vaud'], ['VS' => 'Valais'], ['ZG' => 'Zoug'], ['ZH' => 'Zurich'], ]; protected static $cityFormats = [ '{{cityName}}', ]; protected static $streetNameFormats = [ '{{streetPrefix}} {{lastName}}', '{{streetPrefix}} de {{cityName}}', '{{streetPrefix}} de {{lastName}}', ]; protected static $streetAddressFormats = [ '{{streetName}} {{buildingNumber}}', ]; protected static $addressFormats = [ "{{streetAddress}}\n{{postcode}} {{city}}", ]; /** * Returns a random street prefix * * @example Rue * * @return string */ public static function streetPrefix() { return static::randomElement(static::$streetPrefix); } /** * Returns a random city name. * * @example Luzern * * @return string */ public function cityName() { return static::randomElement(static::$cityNames); } /** * Returns a canton * * @example array('BE' => 'Bern') * * @return array */ public static function canton() { return static::randomElement(static::$canton); } /** * Returns the abbreviation of a canton. * * @return string */ public static function cantonShort() { $canton = static::canton(); return key($canton); } /** * Returns the name of canton. * * @return string */ public static function cantonName() { $canton = static::canton(); return current($canton); } }