PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 2.11.2
GiveWP – Donation Plugin and Fundraising Platform v2.11.2
4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 All 253 releases
give / vendor / fakerphp / faker / src / Faker / Provider / ar_SA / Internet.php
Internet.php
56 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Faker\Provider\ar_SA;
4
5 class Internet extends \Faker\Provider\Internet
6 {
7 protected static $userNameFormats = array(
8 '{{lastNameAscii}}.{{firstNameAscii}}',
9 '{{firstNameAscii}}.{{lastNameAscii}}',
10 '{{firstNameAscii}}##',
11 '?{{lastNameAscii}}',
12 );
13 protected static $safeEmailTld = array(
14 'com', 'jo', 'me', 'net', 'org',
15 );
16
17 protected static $tld = array(
18 'biz', 'com', 'info', 'sa', 'net', 'org',
19 );
20
21 protected static $lastNameAscii = array(
22 'abbad', 'abbadi', 'abbas', 'abulebbeh', 'flefel', 'hadi', 'hamad', 'hasan', 'jabri', 'kanaan', 'karam', 'maanee', 'melhem', 'nimry', 'obaisi', 'qasem', 'qawasmee', 'rabee', 'rashwani', 'shami', 'zaloum',
23 );
24 protected static $firstNameAscii = array(
25 'abd', 'abdullah', 'ahmad', 'akram', 'amr', 'bashar', 'bilal', 'fadi', 'ibrahim', 'khaled', 'layth', 'mohammad', 'mutaz', 'omar', 'osama', 'rami', 'saleem', 'samer', 'sami', 'yazan',
26 );
27
28 public static function lastNameAscii()
29 {
30 return static::randomElement(static::$lastNameAscii);
31 }
32
33 public static function firstNameAscii()
34 {
35 return static::randomElement(static::$firstNameAscii);
36 }
37
38 /**
39 * @example 'ahmad.abbadi'
40 */
41 public function userName()
42 {
43 $format = static::randomElement(static::$userNameFormats);
44
45 return static::bothify($this->generator->parse($format));
46 }
47
48 /**
49 * @example 'wewebit.jo'
50 */
51 public function domainName()
52 {
53 return static::randomElement(static::$lastNameAscii) . '.' . $this->tld();
54 }
55 }
56