X7ROOT File Manager
Current Path:
/home/prisjneg/public_html/vendor/fakerphp/faker/src/Faker/Provider/ar_SA
home
/
prisjneg
/
public_html
/
vendor
/
fakerphp
/
faker
/
src
/
Faker
/
Provider
/
ar_SA
/
📁
..
📄
Address.php
(10.85 KB)
📄
Color.php
(11.54 KB)
📄
Company.php
(1.96 KB)
📄
Internet.php
(1.57 KB)
📄
Payment.php
(682 B)
📄
Person.php
(14.97 KB)
📄
Text.php
(172.08 KB)
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); } }
Upload File
Create Folder