![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/rentpix.corals.io/vendor/fakerphp/faker/src/Faker/Provider/en_ZA/ |
<?php namespace Faker\Provider\en_ZA; class Company extends \Faker\Provider\Company { protected static $legalEntities = [ '01', '02', '06', '07', '08', '09', '10', '11', '12', '14', '15', '16', '17', '20', '21', '22', '23', '24', '25', '26', '30', '31', '80', ]; /** * Return a valid company registration number. * * @return string */ public function companyNumber() { return sprintf( '%s/%s/%s', \Faker\Provider\DateTime::dateTimeBetween('-50 years', 'now')->format('Y'), static::randomNumber(6, true), static::randomElement(static::$legalEntities), ); } }