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

Test could run with every provider #311

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
111 changes: 109 additions & 2 deletions src/Faker/Provider/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,113 @@ class Internet extends \Faker\Provider\Base
'http://{{domainName}}/',
);

public static function convertToNormal($string)
{
$transliterationTable = array(
'IJ' => 'I', 'Ö' => 'O','Œ' => 'O','Ü' => 'U','ä' => 'a','æ' => 'a',
'ij' => 'i','ö' => 'o','œ' => 'o','ü' => 'u','ß' => 's','ſ' => 's',
'À' => 'A','Á' => 'A','Â' => 'A','Ã' => 'A','Ä' => 'A','Å' => 'A',
'Æ' => 'A','Ā' => 'A','Ą' => 'A','Ă' => 'A','Ç' => 'C','Ć' => 'C',
'Č' => 'C','Ĉ' => 'C','Ċ' => 'C','Ď' => 'D','Đ' => 'D','È' => 'E',
'É' => 'E','Ê' => 'E','Ë' => 'E','Ē' => 'E','Ę' => 'E','Ě' => 'E',
'Ĕ' => 'E','Ė' => 'E','Ĝ' => 'G','Ğ' => 'G','Ġ' => 'G','Ģ' => 'G',
'Ĥ' => 'H','Ħ' => 'H','Ì' => 'I','Í' => 'I','Î' => 'I','Ï' => 'I',
'Ī' => 'I','Ĩ' => 'I','Ĭ' => 'I','Į' => 'I','İ' => 'I','Ĵ' => 'J',
'Ķ' => 'K','Ľ' => 'K','Ĺ' => 'K','Ļ' => 'K','Ŀ' => 'K','Ł' => 'L',
'Ñ' => 'N','Ń' => 'N','Ň' => 'N','Ņ' => 'N','Ŋ' => 'N','Ò' => 'O',
'Ó' => 'O','Ô' => 'O','Õ' => 'O','Ø' => 'O','Ō' => 'O','Ő' => 'O',
'Ŏ' => 'O','Ŕ' => 'R','Ř' => 'R','Ŗ' => 'R','Ś' => 'S','Ş' => 'S',
'Ŝ' => 'S','Ș' => 'S','Š' => 'S','Ť' => 'T','Ţ' => 'T','Ŧ' => 'T',
'Ț' => 'T','Ù' => 'U','Ú' => 'U','Û' => 'U','Ū' => 'U','Ů' => 'U',
'Ű' => 'U','Ŭ' => 'U','Ũ' => 'U','Ų' => 'U','Ŵ' => 'W','Ŷ' => 'Y',
'Ÿ' => 'Y','Ý' => 'Y','Ź' => 'Z','Ż' => 'Z','Ž' => 'Z','à' => 'a',
'á' => 'a','â' => 'a','ã' => 'a','ā' => 'a','ą' => 'a','ă' => 'a',
'å' => 'a','ç' => 'c','ć' => 'c','č' => 'c','ĉ' => 'c','ċ' => 'c',
'ď' => 'd','đ' => 'd','è' => 'e','é' => 'e','ê' => 'e','ë' => 'e',
'ē' => 'e','ę' => 'e','ě' => 'e','ĕ' => 'e','ė' => 'e','ƒ' => 'f',
'ĝ' => 'g','ğ' => 'g','ġ' => 'g','ģ' => 'g','ĥ' => 'h','ħ' => 'h',
'ì' => 'i','í' => 'i','î' => 'i','ï' => 'i','ī' => 'i','ĩ' => 'i',
'ĭ' => 'i','į' => 'i','ı' => 'i','ĵ' => 'j','ķ' => 'k','ĸ' => 'k',
'ł' => 'l','ľ' => 'l','ĺ' => 'l','ļ' => 'l','ŀ' => 'l','ñ' => 'n',
'ń' => 'n','ň' => 'n','ņ' => 'n','ʼn' => 'n','ŋ' => 'n','ò' => 'o',
'ó' => 'o','ô' => 'o','õ' => 'o','ø' => 'o','ō' => 'o','ő' => 'o',
'ŏ' => 'o','ŕ' => 'r','ř' => 'r','ŗ' => 'r','ś' => 's','š' => 's',
'ť' => 't','ù' => 'u','ú' => 'u','û' => 'u','ū' => 'u','ů' => 'u',
'ű' => 'u','ŭ' => 'u','ũ' => 'u','ų' => 'u','ŵ' => 'w','ÿ' => 'y',
'ý' => 'y','ŷ' => 'y','ż' => 'z','ź' => 'z','ž' => 'z','Α' => 'A',
'Ά' => 'A','Ἀ' => 'A','Ἁ' => 'A','Ἂ' => 'A','Ἃ' => 'A','Ἄ' => 'A',
'Ἅ' => 'A','Ἆ' => 'A','Ἇ' => 'A','ᾈ' => 'A','ᾉ' => 'A','ᾊ' => 'A',
'ᾋ' => 'A','ᾌ' => 'A','ᾍ' => 'A','ᾎ' => 'A','ᾏ' => 'A','Ᾰ' => 'A',
'Ᾱ' => 'A','Ὰ' => 'A','ᾼ' => 'A','Β' => 'B','Γ' => 'G','Δ' => 'D',
'Ε' => 'E','Έ' => 'E','Ἐ' => 'E','Ἑ' => 'E','Ἒ' => 'E','Ἓ' => 'E',
'Ἔ' => 'E','Ἕ' => 'E','Ὲ' => 'E','Ζ' => 'Z','Η' => 'I','Ή' => 'I',
'Ἠ' => 'I','Ἡ' => 'I','Ἢ' => 'I','Ἣ' => 'I','Ἤ' => 'I','Ἥ' => 'I',
'Ἦ' => 'I','Ἧ' => 'I','ᾘ' => 'I','ᾙ' => 'I','ᾚ' => 'I','ᾛ' => 'I',
'ᾜ' => 'I','ᾝ' => 'I','ᾞ' => 'I','ᾟ' => 'I','Ὴ' => 'I','ῌ' => 'I',
'Θ' => 'T','Ι' => 'I','Ί' => 'I','Ϊ' => 'I','Ἰ' => 'I','Ἱ' => 'I',
'Ἲ' => 'I','Ἳ' => 'I','Ἴ' => 'I','Ἵ' => 'I','Ἶ' => 'I','Ἷ' => 'I',
'Ῐ' => 'I','Ῑ' => 'I','Ὶ' => 'I','Κ' => 'K','Λ' => 'L','Μ' => 'M',
'Ν' => 'N','Ξ' => 'K','Ο' => 'O','Ό' => 'O','Ὀ' => 'O','Ὁ' => 'O',
'Ὂ' => 'O','Ὃ' => 'O','Ὄ' => 'O','Ὅ' => 'O','Ὸ' => 'O','Π' => 'P',
'Ρ' => 'R','Ῥ' => 'R','Σ' => 'S','Τ' => 'T','Υ' => 'Y','Ύ' => 'Y',
'Ϋ' => 'Y','Ὑ' => 'Y','Ὓ' => 'Y','Ὕ' => 'Y','Ὗ' => 'Y','Ῠ' => 'Y',
'Ῡ' => 'Y','Ὺ' => 'Y','Φ' => 'F','Χ' => 'X','Ψ' => 'P','Ω' => 'O',
'Ώ' => 'O','Ὠ' => 'O','Ὡ' => 'O','Ὢ' => 'O','Ὣ' => 'O','Ὤ' => 'O',
'Ὥ' => 'O','Ὦ' => 'O','Ὧ' => 'O','ᾨ' => 'O','ᾩ' => 'O','ᾪ' => 'O',
'ᾫ' => 'O','ᾬ' => 'O','ᾭ' => 'O','ᾮ' => 'O','ᾯ' => 'O','Ὼ' => 'O',
'ῼ' => 'O','α' => 'a','ά' => 'a','ἀ' => 'a','ἁ' => 'a','ἂ' => 'a',
'ἃ' => 'a','ἄ' => 'a','ἅ' => 'a','ἆ' => 'a','ἇ' => 'a','ᾀ' => 'a',
'ᾁ' => 'a','ᾂ' => 'a','ᾃ' => 'a','ᾄ' => 'a','ᾅ' => 'a','ᾆ' => 'a',
'ᾇ' => 'a','ὰ' => 'a','ᾰ' => 'a','ᾱ' => 'a','ᾲ' => 'a','ᾳ' => 'a',
'ᾴ' => 'a','ᾶ' => 'a','ᾷ' => 'a','β' => 'b','γ' => 'g','δ' => 'd',
'ε' => 'e','έ' => 'e','ἐ' => 'e','ἑ' => 'e','ἒ' => 'e','ἓ' => 'e',
'ἔ' => 'e','ἕ' => 'e','ὲ' => 'e','ζ' => 'z','η' => 'i','ή' => 'i',
'ἠ' => 'i','ἡ' => 'i','ἢ' => 'i','ἣ' => 'i','ἤ' => 'i','ἥ' => 'i',
'ἦ' => 'i','ἧ' => 'i','ᾐ' => 'i','ᾑ' => 'i','ᾒ' => 'i','ᾓ' => 'i',
'ᾔ' => 'i','ᾕ' => 'i','ᾖ' => 'i','ᾗ' => 'i','ὴ' => 'i','ῂ' => 'i',
'ῃ' => 'i','ῄ' => 'i','ῆ' => 'i','ῇ' => 'i','θ' => 't','ι' => 'i',
'ί' => 'i','ϊ' => 'i','ΐ' => 'i','ἰ' => 'i','ἱ' => 'i','ἲ' => 'i',
'ἳ' => 'i','ἴ' => 'i','ἵ' => 'i','ἶ' => 'i','ἷ' => 'i','ὶ' => 'i',
'ῐ' => 'i','ῑ' => 'i','ῒ' => 'i','ῖ' => 'i','ῗ' => 'i','κ' => 'k',
'λ' => 'l','μ' => 'm','ν' => 'n','ξ' => 'k','ο' => 'o','ό' => 'o',
'ὀ' => 'o','ὁ' => 'o','ὂ' => 'o','ὃ' => 'o','ὄ' => 'o','ὅ' => 'o',
'ὸ' => 'o','π' => 'p','ρ' => 'r','ῤ' => 'r','ῥ' => 'r','σ' => 's',
'ς' => 's','τ' => 't','υ' => 'y','ύ' => 'y','ϋ' => 'y','ΰ' => 'y',
'ὐ' => 'y','ὑ' => 'y','ὒ' => 'y','ὓ' => 'y','ὔ' => 'y','ὕ' => 'y',
'ὖ' => 'y','ὗ' => 'y','ὺ' => 'y','ῠ' => 'y','ῡ' => 'y','ῢ' => 'y',
'ῦ' => 'y','ῧ' => 'y','φ' => 'f','χ' => 'x','ψ' => 'p','ω' => 'o',
'ώ' => 'o','ὠ' => 'o','ὡ' => 'o','ὢ' => 'o','ὣ' => 'o','ὤ' => 'o',
'ὥ' => 'o','ὦ' => 'o','ὧ' => 'o','ᾠ' => 'o','ᾡ' => 'o','ᾢ' => 'o',
'ᾣ' => 'o','ᾤ' => 'o','ᾥ' => 'o','ᾦ' => 'o','ᾧ' => 'o','ὼ' => 'o',
'ῲ' => 'o','ῳ' => 'o','ῴ' => 'o','ῶ' => 'o','ῷ' => 'o','А' => 'A',
'Б' => 'B','В' => 'V','Г' => 'G','Д' => 'D','Е' => 'E','Ё' => 'E',
'Ж' => 'Z','З' => 'Z','И' => 'I','Й' => 'I','К' => 'K','Л' => 'L',
'М' => 'M','Н' => 'N','О' => 'O','П' => 'P','Р' => 'R','С' => 'S',
'Т' => 'T','У' => 'U','Ф' => 'F','Х' => 'K','Ц' => 'T','Ч' => 'C',
'Ш' => 'S','Щ' => 'S','Ы' => 'Y','Э' => 'E','Ю' => 'Y','Я' => 'Y',
'а' => 'A','б' => 'B','в' => 'V','г' => 'G','д' => 'D','е' => 'E',
'ё' => 'E','ж' => 'Z','з' => 'Z','и' => 'I','й' => 'I','к' => 'K',
'л' => 'L','м' => 'M','н' => 'N','о' => 'O','п' => 'P','р' => 'R',
'с' => 'S','т' => 'T','у' => 'U','ф' => 'F','х' => 'K','ц' => 'T',
'ч' => 'C','ш' => 'S','щ' => 'S','ы' => 'Y','э' => 'E','ю' => 'Y',
'я' => 'Y','ð' => 'd','Ð' => 'D','þ' => 't','Þ' => 'T','ა' => 'a',
'ბ' => 'b','გ' => 'g','დ' => 'd','ე' => 'e','ვ' => 'v','ზ' => 'z',
'თ' => 't','ი' => 'i','კ' => 'k','ლ' => 'l','მ' => 'm','ნ' => 'n',
'ო' => 'o','პ' => 'p','ჟ' => 'z','რ' => 'r','ს' => 's','ტ' => 't',
'უ' => 'u','ფ' => 'p','ქ' => 'k','ღ' => 'g','ყ' => 'q','შ' => 's',
'ჩ' => 'c','ც' => 't','ძ' => 'd','წ' => 't','ჭ' => 'c','ხ' => 'k',
'ჯ' => 'j','ჰ' => 'h','ā'=>'a', 'ţ'=>'t',
'ʼ' => "'", '̧' => '', 'ḩ' => 'h', 'ʼ'=>"'", '‘'=>"'", '’'=>"'", 'ừ'=>'u',
'ế'=>'e', 'ả'=>'a', 'ị'=>'i', 'ậ'=>'a', 'ệ'=>'e', 'ỉ'=>'i', 'ộ'=>'o',
'ồ'=>'o', 'ề'=>'e', 'ơ'=>'o', 'ạ'=>'a', 'ẵ'=>'a', 'ư'=>'u', 'ắ'=>'a',
'ằ'=>'a', 'ầ'=>'a', 'ḑ'=>'d', 'Ḩ'=>'H', 'Ḑ'=>'D', 'ḑ'=>'d', 'ş'=>'s',
'Ģ'=>'G', 'Š'=>'S', 'ļ'=>'l', 'ž'=>'z', 'Ē'=>'E', 'ņ'=>'n',
'Č' => 'C', 'ș' => 's', 'ț' => 't', "'" => '', '/' => ''
);

return str_replace(array_keys($transliterationTable), array_values($transliterationTable), $string);
}

/**
* @example 'jdoe@acme.biz'
*/
Expand Down Expand Up @@ -83,10 +190,10 @@ final public static function safeEmailDomain()
public function userName()
{
$format = static::randomElement(static::$userNameFormats);
$username = static::bothify(preg_replace('/(?!\.)\W/u', '', $this->generator->parse($format)));

return static::toLower(static::bothify($this->generator->parse($format)));
return static::toLower($username);
}

/**
* @example 'tiramisu.com'
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Faker/Provider/cs_CZ/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class Internet extends \Faker\Provider\Internet
*/
private function toAscii($string)
{
$from = array('Ě', 'ě', 'Š', 'š', 'Č', 'č', 'Ř', 'ř', 'Ž', 'ž', 'Ý', 'ý', 'Á', 'á', 'Í', 'í', 'É', 'é', 'Ó', 'ó', 'Ú', 'ú', 'Ů', 'ů', 'Ď', 'ď', 'Ť', 'ť', 'Ň', 'ň');
$to = array('E', 'e', 'S', 's', 'C', 'c', 'R', 'r', 'Z', 'z', 'Y', 'y', 'A', 'a', 'I', 'i', 'E', 'e', 'O', 'o', 'U', 'u', 'U', 'u', 'D', 'd', 'T', 't', 'N', 'n');
$from = array('ö', 'ü', 'ű', 'Ě', 'ě', 'Š', 'š', 'Č', 'č', 'Ř', 'ř', 'Ž', 'ž', 'Ý', 'ý', 'Á', 'á', 'Í', 'í', 'É', 'é', 'Ó', 'ó', 'Ú', 'ú', 'Ů', 'ů', 'Ď', 'ď', 'Ť', 'ť', 'Ň', 'ň');
$to = array('o', 'u', 'u', 'E', 'e', 'S', 's', 'C', 'c', 'R', 'r', 'Z', 'z', 'Y', 'y', 'A', 'a', 'I', 'i', 'E', 'e', 'O', 'o', 'U', 'u', 'U', 'u', 'D', 'd', 'T', 't', 'N', 'n');

return str_replace($from, $to, $string);
}
Expand Down
8 changes: 3 additions & 5 deletions src/Faker/Provider/da_DK/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class Internet extends \Faker\Provider\Internet
*/
private static function toAscii($string)
{
$from = array('æ', 'ø', 'å', 'Æ', 'Ø', 'Å');
$to = array('ae', 'oe', 'aa', 'AE', 'OE', 'AA');
$from = array('ü', 'é', 'æ', 'ø', 'å', 'Æ', 'Ø', 'Å');
$to = array('u', 'e', 'ae', 'oe', 'aa', 'AE', 'OE', 'AA');

return str_replace($from, $to, $string);
}
Expand All @@ -47,9 +47,7 @@ private static function toAscii($string)
*/
public function userName()
{
$format = static::randomElement(static::$userNameFormats);

return static::toLower(static::toAscii(static::bothify($this->generator->parse($format))));
return static::toAscii(parent::userName());
}

/**
Expand Down
18 changes: 18 additions & 0 deletions src/Faker/Provider/de_AT/Internet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Faker\Provider\de_AT;

class Internet extends \Faker\Provider\Internet
{
/**
* @example 'jdoe'
*/
public function userName()
{
return static::convertToNormal(parent::userName());
}
public function domainWord()
{
return static::convertToNormal(parent::domainWord());
}
}
4 changes: 1 addition & 3 deletions src/Faker/Provider/de_DE/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ private static function toAscii($string)
*/
public function userName()
{
$format = static::randomElement(static::$userNameFormats);

return static::toLower(static::toAscii(static::bothify($this->generator->parse($format))));
return static::toAscii(parent::userName());
}

/**
Expand Down
18 changes: 18 additions & 0 deletions src/Faker/Provider/el_GR/Internet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Faker\Provider\el_GR;

class Internet extends \Faker\Provider\Internet
{
/**
* @example 'jdoe'
*/
public function userName()
{
return static::convertToNormal(parent::userName());
}
public function domainWord()
{
return static::convertToNormal(parent::domainWord());
}
}
11 changes: 11 additions & 0 deletions src/Faker/Provider/en_ZA/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,15 @@ class Internet extends \Faker\Provider\Internet
{
protected static $freeEmailDomain = array('gmail.com', 'yahoo.com', 'hotmail.com', 'webmail.co.za', 'vodamail.co.za');
protected static $tld = array('co.za', 'co.za', 'co.za', 'co.za', 'com', 'com', 'net');
/**
* @example 'jdoe'
*/
public function userName()
{
return static::convertToNormal(parent::userName());
}
public function domainWord()
{
return static::convertToNormal(parent::domainWord());
}
}
18 changes: 18 additions & 0 deletions src/Faker/Provider/es_AR/Internet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Faker\Provider\es_AR;

class Internet extends \Faker\Provider\Internet
{
/**
* @example 'jdoe'
*/
public function userName()
{
return static::convertToNormal(parent::userName());
}
public function domainWord()
{
return static::convertToNormal(parent::domainWord());
}
}
5 changes: 1 addition & 4 deletions src/Faker/Provider/es_ES/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ private static function toAscii($string)
*/
public function userName()
{
$format = static::randomElement(static::$userNameFormats);
$user = static::bothify($this->generator->parse($format));

return str_replace('-', '.', static::toLower(static::toAscii($user)));
return str_replace('-', '.', static::toAscii(parent::userName()));
}

/**
Expand Down
18 changes: 18 additions & 0 deletions src/Faker/Provider/es_PE/Internet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Faker\Provider\es_PE;

class Internet extends \Faker\Provider\Internet
{
/**
* @example 'jdoe'
*/
public function userName()
{
return static::convertToNormal(parent::userName());
}
public function domainWord()
{
return static::convertToNormal(parent::domainWord());
}
}
12 changes: 12 additions & 0 deletions src/Faker/Provider/fi_FI/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,16 @@ class Internet extends \Faker\Provider\Internet
{
protected static $freeEmailDomain = array('gmail.com', 'yahoo.com', 'hotmail.com', 'jippii.fi', 'luukku.com');
protected static $tld = array('com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'fi');

/**
* @example 'jdoe'
*/
public function userName()
{
return static::convertToNormal(parent::userName());
}
public function domainWord()
{
return static::convertToNormal(parent::domainWord());
}
}
13 changes: 3 additions & 10 deletions src/Faker/Provider/fr_BE/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Internet extends \Faker\Provider\Internet
private static function toAscii($string)
{
$from = array('à', 'À', 'ç', 'Ç', 'é', 'É', 'è', 'È', 'ë', 'Ë', 'ï', 'Ï', 'î', 'Î', 'ô', 'Ô', 'ù', 'Ù');
$to = array('a', 'A', 'c', 'c', 'e', 'E', 'e', 'E', 'e', 'E', 'i', 'I', 'i', 'I', 'o', 'O', 'u', 'U');
$to = array('a', 'A', 'c', 'c', 'e', 'E', 'e', 'E', 'e', 'E', 'i', 'I', 'i', 'I', 'o', 'O', 'u', 'U');

return str_replace($from, $to, $string);
}
Expand All @@ -25,21 +25,14 @@ private static function toAscii($string)
*/
public function userName()
{
$format = static::randomElement(static::$userNameFormats);

return static::toLower(static::toAscii(static::bothify($this->generator->parse($format))));
return static::toAscii(parent::userName());
}

/**
* @example 'faber'
*/
public function domainWord()
{
$company = $this->generator->format('company');
$companyElements = explode(' ', $company);
$company = $companyElements[0];
$company = preg_replace('/\W/u', '', $company);

return static::toLower(static::toAscii($company));
return static::toAscii(parent::domainWord());
}
}
18 changes: 18 additions & 0 deletions src/Faker/Provider/fr_CA/Internet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Faker\Provider\fr_CA;

class Internet extends \Faker\Provider\Internet
{
/**
* @example 'jdoe'
*/
public function userName()
{
return static::convertToNormal(parent::userName());
}
public function domainWord()
{
return static::convertToNormal(parent::domainWord());
}
}
4 changes: 1 addition & 3 deletions src/Faker/Provider/fr_FR/Internet.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ private static function toAscii($string)
*/
public function userName()
{
$format = static::randomElement(static::$userNameFormats);

return static::toLower(static::toAscii(static::bothify($this->generator->parse($format))));
return static::toAscii(parent::userName());
}

/**
Expand Down
18 changes: 18 additions & 0 deletions src/Faker/Provider/hu_HU/Internet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Faker\Provider\hu_HU;

class Internet extends \Faker\Provider\Internet
{
/**
* @example 'jdoe'
*/
public function userName()
{
return static::convertToNormal(parent::userName());
}
public function domainWord()
{
return static::convertToNormal(parent::domainWord());
}
}
Loading