Server IP : 23.254.227.96 / Your IP : 216.73.216.120 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/viralblo/instantblog/vendor/fakerphp/faker/src/Faker/Provider/ar_SA/ |
Upload File : |
<?php namespace Faker\Provider\ar_SA; use Faker\Calculator\Luhn; class Company extends \Faker\Provider\Company { protected static $formats = [ '{{lastName}} {{companySuffix}}', '{{companyPrefix}} {{lastName}} {{companySuffix}}', '{{companyPrefix}} {{lastName}}', ]; protected static $bsWords = [ [], ]; protected static $catchPhraseWords = [ ['الخدمات', 'الحلول', 'الانظمة'], [ 'الذهبية', 'الذكية', 'المتطورة', 'المتقدمة', 'الدولية', 'المتخصصه', 'السريعة', 'المثلى', 'الابداعية', 'المتكاملة', 'المتغيرة', 'المثالية', ], ]; protected static $companyPrefix = ['شركة', 'مؤسسة', 'مجموعة', 'مكتب', 'أكاديمية', 'معرض']; protected static $companySuffix = ['وأولاده', 'للمساهمة المحدودة', ' ذ.م.م', 'مساهمة عامة', 'وشركائه']; /** * @example 'مؤسسة' * * @return string */ public function companyPrefix() { return static::randomElement(self::$companyPrefix); } /** * @example 'الحلول المتقدمة' */ public function catchPhrase() { $result = []; foreach (static::$catchPhraseWords as &$word) { $result[] = static::randomElement($word); } return implode(' ', $result); } /** * @example 'integrate extensible convergence' */ public function bs() { $result = []; foreach (static::$bsWords as &$word) { $result[] = static::randomElement($word); } return implode(' ', $result); } /** * example 7001010101 */ public static function companyIdNumber() { $partialValue = static::numerify(700 . str_repeat('#', 6)); return Luhn::generateLuhnNumber($partialValue); } }