|
|
static | explode ($text) |
| |
|
static | strlen ($text) |
| |
|
static | validStart ($word) |
| |
|
static | appendEnd ($text) |
| |
| static | utf8Encoding ($text) |
| |
|
static | implode ($words) |
| |
|
|
static | $separator = '' |
| |
|
static | $separatorLen = 0 |
| |
| static | $notEndPunct = array('、', '「', '『', 'ー', ',', ':', ';') |
| |
|
static | $endPunct = array('。', '」', '』', '!', '?') |
| |
|
static | $notBeginPunct = array('、', '。', '」', '』', '!', '?', 'ー', ',', ':', ';') |
| |
|
static | $baseText = |
| |
|
static | $encoding = 'UTF-8' |
| |
|
static | $baseText = '' |
| |
|
static | $separator = ' ' |
| |
|
static | $separatorLen = 1 |
| |
|
static | $textStartsWithUppercase = true |
| |
|
|
| realText ($maxNbChars=200, $indexSize=2) |
| |
| | __construct (Generator $generator) |
| |
| | optional ($weight=0.5, $default=null) |
| |
| | unique ($reset=false, $maxRetries=10000) |
| |
| | valid ($validator=null, $maxRetries=10000) |
| |
| static | randomDigit () |
| |
| static | randomDigitNotNull () |
| |
| static | randomDigitNot ($except) |
| |
|
static | randomNumber ($nbDigits=null, $strict=false) |
| |
|
static | randomFloat ($nbMaxDecimals=null, $min=0, $max=null) |
| |
|
static | numberBetween ($int1=0, $int2=2147483647) |
| |
| static | passthrough ($value) |
| |
| static | randomLetter () |
| |
| static | randomAscii () |
| |
| static | randomElements ($array=array('a', 'b', 'c'), $count=1, $allowDuplicates=false) |
| |
| static | randomElement ($array=array('a', 'b', 'c')) |
| |
| static | randomKey ($array=array()) |
| |
|
static | shuffle ($arg='') |
| |
|
static | shuffleArray ($array=array()) |
| |
|
static | shuffleString ($string='', $encoding='UTF-8') |
| |
| static | numerify ($string='###') |
| |
| static | lexify ($string='????') |
| |
| static | bothify ($string='## ??') |
| |
|
static | asciify ($string=' ****') |
| |
|
static | regexify ($regex='') |
| |
| static | toLower ($string='') |
| |
| static | toUpper ($string='') |
| |
|
| getConsecutiveWords ($indexSize) |
| |
|
| getExplodedText () |
| |
|
| $explodedText |
| |
|
| $consecutiveWords = array() |
| |
|
| $generator |
| |
|
| $unique |
| |
◆ utf8Encoding()
| static Faker\Provider\zh_TW\Text::utf8Encoding |
( |
|
$text | ) |
|
|
staticprotected |
Convert original string to utf-8 encoding.
- Parameters
-
- Returns
- array
◆ $notEndPunct
| Faker\Provider\zh_TW\Text::$notEndPunct = array('、', '「', '『', 'ー', ',', ':', ';') |
|
staticprotected |
All punctuation in $baseText: 、 。 「 」 『 』 ! ? ー , : ;
The documentation for this class was generated from the following file:
- vendor/fzaninotto/faker/src/Faker/Provider/zh_TW/Text.php