芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/fakerphp/faker/src/Faker/Provider/pt_BR/Person.php
generator->numerify('#########'); $n .= check_digit($n); $n .= check_digit($n); return $formatted ? vsprintf('%d%d%d.%d%d%d.%d%d%d-%d%d', str_split($n)) : $n; } /** * A random RG number, following Sao Paulo state's rules. * * @see http://pt.wikipedia.org/wiki/C%C3%A9dula_de_identidade * * @param bool $formatted If the number should have dots/dashes or not. * * @return string */ public function rg($formatted = true) { $n = $this->generator->numerify('########'); $n .= check_digit($n); return $formatted ? vsprintf('%d%d.%d%d%d.%d%d%d-%s', str_split($n)) : $n; } }