Internet.php
33 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Faker\Provider\ne_NP; |
| 4 | |
| 5 | class Internet extends \Faker\Provider\Internet |
| 6 | { |
| 7 | protected static $freeEmailDomain = array('gmail.com', 'yahoo.com', 'hotmail.com'); |
| 8 | protected static $tld = array('com', 'com', 'com', 'net', 'org'); |
| 9 | |
| 10 | protected static $emailFormats = array( |
| 11 | '{{userName}}@{{domainName}}', |
| 12 | '{{userName}}@{{domainName}}', |
| 13 | '{{userName}}@{{freeEmailDomain}}', |
| 14 | '{{userName}}@{{domainName}}.np', |
| 15 | '{{userName}}@{{domainName}}.np', |
| 16 | '{{userName}}@{{domainName}}.np', |
| 17 | ); |
| 18 | |
| 19 | protected static $urlFormats = array( |
| 20 | 'http://www.{{domainName}}.np/', |
| 21 | 'http://www.{{domainName}}.np/', |
| 22 | 'http://{{domainName}}.np/', |
| 23 | 'http://{{domainName}}.np/', |
| 24 | 'http://www.{{domainName}}.np/{{slug}}', |
| 25 | 'http://www.{{domainName}}.np/{{slug}}.html', |
| 26 | 'http://{{domainName}}.np/{{slug}}', |
| 27 | 'http://{{domainName}}.np/{{slug}}', |
| 28 | 'http://{{domainName}}/{{slug}}.html', |
| 29 | 'http://www.{{domainName}}/', |
| 30 | 'http://{{domainName}}/', |
| 31 | ); |
| 32 | } |
| 33 |