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\ar_EG;
4
 
5
class Internet extends \Faker\Provider\Internet
6
{
7
    protected static $userNameFormats = [
8
        '{{lastNameAscii}}.{{firstNameAscii}}',
9
        '{{firstNameAscii}}.{{lastNameAscii}}',
10
        '{{firstNameAscii}}##',
11
        '?{{lastNameAscii}}',
12
    ];
13
    protected static $safeEmailTld = [
14
        'com', 'com.eg', 'eg', 'me', 'net', 'org',
15
    ];
16
 
17
    protected static $tld = [
18
        'biz', 'com', 'come.eg', 'info', 'eg', 'net', 'org',
19
    ];
20
 
21
    protected static $lastNameAscii = [
22
        'ahmed',
23
        'mostafa',
24
        'mahmoud',
25
        'carmen',
26
        'rakeen',
27
        'hazem',
28
        'ezz',
29
        'hemeida',
30
        'ramah',
31
        'fahmy',
32
        'ehab',
33
        'karim',
34
        'abdulaziz',
35
        'elsherbiny',
36
        'karam',
37
        'abdulaziz',
38
        'bayoumi',
39
        'tharwat',
40
        'elshamy',
41
        'youssef',
42
        'rizk',
43
        'ramzy',
44
        'younes',
45
        'selim',
46
    ];
47
    protected static $firstNameAscii = [
48
        'ahmed',
49
        'mostafa',
50
        'mahmoud',
51
        'hazem',
52
        'ehab',
53
        'karim',
54
        'dina',
55
        'maged',
56
        'mohamed',
57
        'saif',
58
        'basma',
59
        'youssef',
60
        'hashem',
61
        'dina',
62
        'hani',
63
        'hashem',
64
    ];
65
 
66
    public static function lastNameAscii()
67
    {
68
        return static::randomElement(static::$lastNameAscii);
69
    }
70
 
71
    public static function firstNameAscii()
72
    {
73
        return static::randomElement(static::$firstNameAscii);
74
    }
75
 
76
    /**
77
     * @example 'ahmad.abbadi'
78
     */
79
    public function userName()
80
    {
81
        $format = static::randomElement(static::$userNameFormats);
82
 
83
        return static::bothify($this->generator->parse($format));
84
    }
85
 
86
    /**
87
     * @example 'wewebit.jo'
88
     */
89
    public function domainName()
90
    {
91
        return static::randomElement(static::$lastNameAscii) . '.' . $this->tld();
92
    }
93
}