1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-22 00:09:59 +01:00

phone & address provider for nl_BE

This commit is contained in:
Wim Vandersmissen 2013-02-25 12:08:36 +01:00
parent cfcf109dbb
commit a7ff0a319f
2 changed files with 26 additions and 1 deletions

View File

@ -6,12 +6,16 @@ class Address extends \Faker\Provider\Address
{
protected static $postcode = array('####');
protected static $streetAddressFormats = array(
'{{streetName}} {{buildingNumber}}'
);
protected static $streetNameFormats = array('{{lastName}}{{streetSuffix}}');
protected static $cityFormats = array('{{cityName}}');
protected static $addressFormats = array(
'{{streetAddress}}\n {{postcode}} {{city}}',
"{{streetAddress}}\n {{postcode}} {{city}}",
);
protected static $streetSuffix = array(

View File

@ -0,0 +1,21 @@
<?php
namespace Faker\Provider\nl_BE;
class PhoneNumber extends \Faker\Provider\PhoneNumber
{
protected static $formats = array(
'+32(0)########',
'+32(0)### ######',
'+32(0)# #######',
'0#########',
'0### ######',
'0### ### ###',
'0### ## ## ##',
'0## ######',
'0## ## ## ##',
'0# #######',
'0# ### ## ##',
);
}