Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace Faker\Provider\en_PH;
4
 
5
class PhoneNumber extends \Faker\Provider\PhoneNumber
6
{
7
    // http://en.wikipedia.org/wiki/Telephone_numbers_in_the_Philippines
8
    protected static $mobileFormats = [
9
        '+63 (813) ###-####', '+63 (817) ###-####', '+63 (900) ###-####',
10
        '+63 (905) ###-####', '+63 (906) ###-####', '+63 (907) ###-####',
11
        '+63 (908) ###-####', '+63 (909) ###-####', '+63 (910) ###-####',
12
        '+63 (911) ###-####', '+63 (912) ###-####', '+63 (915) ###-####',
13
        '+63 (916) ###-####', '+63 (917) ###-####', '+63 (918) ###-####',
14
        '+63 (919) ###-####', '+63 (920) ###-####', '+63 (921) ###-####',
15
        '+63 (922) ###-####', '+63 (923) ###-####', '+63 (925) ###-####',
16
        '+63 (926) ###-####', '+63 (927) ###-####', '+63 (928) ###-####',
17
        '+63 (929) ###-####', '+63 (930) ###-####', '+63 (931) ###-####',
18
        '+63 (932) ###-####', '+63 (933) ###-####', '+63 (934) ###-####',
19
        '+63 (935) ###-####', '+63 (936) ###-####', '+63 (937) ###-####',
20
        '+63 (938) ###-####', '+63 (939) ###-####', '+63 (940) ###-####',
21
        '+63 (942) ###-####', '+63 (943) ###-####', '+63 (944) ###-####',
22
        '+63 (946) ###-####', '+63 (947) ###-####', '+63 (948) ###-####',
23
        '+63 (949) ###-####', '+63 (971) ###-####', '+63 (973) ###-####',
24
        '+63 (974) ###-####', '+63 (975) ###-####', '+63 (977) ###-####',
25
        '+63 (978) ###-####', '+63 (979) ###-####', '+63 (980) ###-####',
26
        '+63 (989) ###-####', '+63 (994) ###-####', '+63 (996) ###-####',
27
        '+63 (997) ###-####', '+63 (998) ###-####', '+63 (999) ###-####',
28
 
29
        '(0813) ###-####', '(0817) ###-####', '(0900) ###-####',
30
        '(0905) ###-####', '(0906) ###-####', '(0907) ###-####',
31
        '(0908) ###-####', '(0909) ###-####', '(0910) ###-####',
32
        '(0911) ###-####', '(0912) ###-####', '(0915) ###-####',
33
        '(0916) ###-####', '(0917) ###-####', '(0918) ###-####',
34
        '(0919) ###-####', '(0920) ###-####', '(0921) ###-####',
35
        '(0922) ###-####', '(0923) ###-####', '(0925) ###-####',
36
        '(0926) ###-####', '(0927) ###-####', '(0928) ###-####',
37
        '(0929) ###-####', '(0930) ###-####', '(0931) ###-####',
38
        '(0932) ###-####', '(0933) ###-####', '(0934) ###-####',
39
        '(0935) ###-####', '(0936) ###-####', '(0937) ###-####',
40
        '(0938) ###-####', '(0939) ###-####', '(0940) ###-####',
41
        '(0942) ###-####', '(0943) ###-####', '(0944) ###-####',
42
        '(0946) ###-####', '(0947) ###-####', '(0948) ###-####',
43
        '(0949) ###-####', '(0971) ###-####', '(0973) ###-####',
44
        '(0974) ###-####', '(0975) ###-####', '(0977) ###-####',
45
        '(0978) ###-####', '(0979) ###-####', '(0980) ###-####',
46
        '(0989) ###-####', '(0994) ###-####', '(0996) ###-####',
47
        '(0997) ###-####', '(0998) ###-####', '(0999) ###-####',
48
    ];
49
 
50
    /**
51
     * Return a en_PH mobile phone number
52
     *
53
     * @return string
54
     */
55
    public static function mobileNumber()
56
    {
57
        return static::numerify(static::randomElement(static::$mobileFormats));
58
    }
59
}