[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: Company.php
<?php namespace Faker\Provider\kk_KZ; class Company extends \Faker\Provider\Company { protected static $companyNameFormats = [ '{{companyPrefix}} {{companyNameElement}}', '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}', '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}', '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', ]; protected static $companyPrefixes = [ 'АҚ', 'ЖШС', 'ЖАҚ', ]; protected static $companyNameSuffixes = [ 'Құрылыс', 'Машина', 'Бұзу', '-М', 'Лизинг', 'Страх', 'Ком', 'Телеком', ]; protected static $companyElements = [ 'Қазақ', 'Кітап', 'Цемент', 'Лифт', 'Креп', 'Авто', 'Теле', 'Транс', 'Алмаз', 'Метиз', 'Мотор', 'Қаз', 'Тех', 'Сантех', 'Алматы', 'Астана', 'Электро', ]; /** * @example 'ЖШС АлматыТелеком' */ public function company() { $format = static::randomElement(static::$companyNameFormats); return $this->generator->parse($format); } public static function companyPrefix() { return static::randomElement(static::$companyPrefixes); } public static function companyNameElement() { return static::randomElement(static::$companyElements); } public static function companyNameSuffix() { return static::randomElement(static::$companyNameSuffixes); } /** * National Business Identification Numbers * * @see http://egov.kz/wps/portal/Content?contentPath=%2Fegovcontent%2Fbus_business%2Ffor_businessmen%2Farticle%2Fbusiness_identification_number&lang=en * * @return string 12 digits, like 150140000019 */ public static function businessIdentificationNumber(?\DateTime $registrationDate = null) { if (!$registrationDate) { $registrationDate = \Faker\Provider\DateTime::dateTimeThisYear(); } $dateAsString = $registrationDate->format('ym'); $legalEntityType = (string) self::numberBetween(4, 6); $legalEntityAdditionalType = (string) self::numberBetween(0, 3); $randomDigits = (string) static::numerify('######'); return $dateAsString . $legalEntityType . $legalEntityAdditionalType . $randomDigits; } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.64 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002