PluginProbe ʕ •ᴥ•ʔ
Kubio AI Page Builder / 2.8.6
Kubio AI Page Builder v2.8.6
2.9.0 2.8.6 2.8.5 2.8.4 2.8.3 2.8.2 2.8.1 trunk 1.0.0 1.0.1 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.9.0 2.0.0 2.1.1 2.1.2 2.1.3 2.2.0 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.3.3 2.3.4 2.4.0 2.4.1 2.4.2 2.4.3 2.4.5 2.5.0 2.5.1 2.5.2 2.5.3 2.6.0 2.6.1 2.6.2 2.6.3 2.6.5 2.6.6 2.6.7 2.7.0 2.7.1 2.7.2 2.7.3 2.8.0
kubio / vendor / fzaninotto / faker / src / Faker / Provider / pt_PT / PhoneNumber.php
kubio / vendor / fzaninotto / faker / src / Faker / Provider / pt_PT Last commit date
Address.php 1 year ago Company.php 1 year ago Internet.php 1 year ago Payment.php 1 year ago Person.php 1 year ago PhoneNumber.php 1 year ago
PhoneNumber.php
51 lines
1 <?php
2
3 namespace Faker\Provider\pt_PT;
4
5 class PhoneNumber extends \Faker\Provider\PhoneNumber
6 {
7 /*
8 * @link http://en.wikipedia.org/wiki/Telephone_numbers_in_Portugal
9 */
10 protected static $formats = array(
11 '+351 91#######',
12 '+351 92#######',
13 '+351 93#######',
14 '+351 96#######',
15 '+351 21#######',
16 '+351 22#######',
17 '+351 23#######',
18 '+351 24#######',
19 '+351 25#######',
20 '+351 26#######',
21 '+351 27#######',
22 '+351 28#######',
23 '+351 29#######',
24 '91#######',
25 '92#######',
26 '93#######',
27 '96#######',
28 '21#######',
29 '22#######',
30 '23#######',
31 '24#######',
32 '25#######',
33 '26#######',
34 '27#######',
35 '28#######',
36 '29#######',
37 );
38
39 protected static $mobileNumberPrefixes = array(
40 '91#######',
41 '92#######',
42 '93#######',
43 '96#######',
44 );
45
46 public static function mobileNumber()
47 {
48 return static::numerify(static::randomElement(static::$mobileNumberPrefixes));
49 }
50 }
51