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

Create Internet.php #424

Merged
merged 2 commits into from Sep 23, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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}}',
);
}