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:
parent
cfcf109dbb
commit
a7ff0a319f
@ -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(
|
||||
|
21
src/Faker/Provider/nl_BE/PhoneNumber.php
Normal file
21
src/Faker/Provider/nl_BE/PhoneNumber.php
Normal 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# ### ## ##',
|
||||
);
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user