Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Merge pull request #424 from Lisso-Me/patch-1
Browse files Browse the repository at this point in the history
Create Internet.php
  • Loading branch information
fzaninotto committed Sep 23, 2014
2 parents 7f6c460 + 1125ac6 commit 585d9c1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/Faker/Provider/zh_CN/Internet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

namespace Faker\Provider\zh_CN;

class Internet extends \Faker\Provider\Internet
{
protected static $freeEmailDomain = array('gmail.com', 'yahoo.com', 'hotmail.com');
protected static $tld = array('com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org');

protected static $userNameFormats = array(
'{{word}}.{{word}}',
'{{word}}_{{word}}',
'{{word}}##',
'?{{word}}',
);
protected static $emailFormats = array(
'{{userName}}@{{freeEmailDomain}}',
);
}

0 comments on commit 585d9c1

Please sign in to comment.