%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/water/vendor/fzaninotto/faker/src/Faker/Provider/fa_IR/ |
Upload File : |
<?php namespace Faker\Provider\fa_IR; class Address extends \Faker\Provider\Address { protected static $cityPrefix = array('استان'); protected static $streetPrefix = array('خیابان'); protected static $buildingNamePrefix = array('ساختمان'); protected static $buildingNumberPrefix = array('پلاک', 'قطعه'); protected static $postcodePrefix = array('کد پستی'); protected static $cityName = array( "آذربایجان شرقی", "آذربایجان غربی", "اردبیل", "اصفهان", "البرز", "ایلام", "بوشهر", "تهران", "خراسان جنوبی", "خراسان رضوی", "خراسان شمالی", "خوزستان", "زنجان", "سمنان", "سیستان و بلوچستان", "فارس", "قزوین", "قم", "لرستان", "مازندران", "مرکزی", "هرمزگان", "همدان", "چهارمحال و بختیاری", "کردستان", "کرمان", "کرمانشاه", "کهگیلویه و بویراحمد", "گلستان", "گیلان", "یزد" ); protected static $cityFormats = array( '{{cityName}}', '{{cityPrefix}} {{cityName}}', ); protected static $streetNameFormats = array( '{{streetPrefix}} {{lastName}}' ); protected static $streetAddressFormats = array( '{{streetName}} {{building}}' ); protected static $addressFormats = array( '{{city}} {{streetAddress}} {{postcodePrefix}} {{postcode}}', '{{city}} {{streetAddress}}', ); protected static $buildingFormat = array( '{{buildingNamePrefix}} {{firstName}} {{buildingNumberPrefix}} {{buildingNumber}}', '{{buildingNamePrefix}} {{firstName}}', ); protected static $postcode = array('##########'); protected static $country = array('ایران'); /** * @example 'استان' */ public static function cityPrefix() { return static::randomElement(static::$cityPrefix); } /** * @example 'زنجان' */ public static function cityName() { return static::randomElement(static::$cityName); } /** * @example 'خیابان' */ public static function streetPrefix() { return static::randomElement(static::$streetPrefix); } /** * @example 'ساختمان' */ public static function buildingNamePrefix() { return static::randomElement(static::$buildingNamePrefix); } /** * @example 'پلاک' */ public static function buildingNumberPrefix() { return static::randomElement(static::$buildingNumberPrefix); } /** * @example 'ساختمان آفتاب پلاک 24' */ public function building() { $format = static::randomElement(static::$buildingFormat); return $this->generator->parse($format); } /** * @example 'کد پستی' */ public static function postcodePrefix() { return static::randomElement(static::$postcodePrefix); } }