/var/www/cobraambalaj/vendor/fakerphp/faker/src/Faker/Provider/pt_BR
NameSizeModeActions
Address.php63410644editdlrm
check_digit.php9580644editdlrm
Company.php9330644editdlrm
Internet.php3220644editdlrm
Payment.php44370644editdlrm
Person.php104770644editdlrm
PhoneNumber.php46980644editdlrm
Edit: /var/www/cobraambalaj/vendor/fakerphp/faker/src/Faker/Provider/pt_BR/Person.php (10477B)
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. * @link 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; } }