芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/xmintal-back/vendor/fakerphp/faker/src/Faker/Provider/el_GR/PhoneNumber.php
generator->parse( static::randomElement(static::$fixedLineFormats) ))); } /** * Generate a code for a mobile number. * * @internal Used to generate mobile numbers. * * @return string */ public static function mobileCode() { return static::randomElement(static::$mobileCodes); } /** * Generate a mobile number. * * @example A mobile number: '6901234567' * @example A mobile number with spaces: '690 123 4567' * @example A mobile number with international code prefix: '+306901234567' * @example A mobile number with international code prefix and spaces: '+30 690 123 4567' * * @return string */ public function mobileNumber() { return ltrim(static::numerify($this->generator->parse( static::randomElement(static::$mobileFormats) ))); } /** * @deprecated Use PhoneNumber::mobileNumber() instead. */ public static function mobilePhoneNumber() { return static::numerify( strtr(static::randomElement(static::$mobileFormats), [ '{{internationalCodePrefix}}' => static::internationalCodePrefix(), '{{mobileCode}}' => static::mobileCode(), ]) ); } /** * Generate a personal number. * * @example A personal number: '7012345678' * @example A personal number with spaces: '70 1234 5678' * @example A personal number with international code prefix: '+307012345678' * @example A personal number with international code prefix and spaces: '+30 70 1234 5678' * * @return string */ public function personalNumber() { return ltrim(static::numerify($this->generator->parse( static::randomElement(static::$personalFormats) ))); } /** * Generate a toll-free number. * * @example A toll-free number: '8001234567' * @example A toll-free number with spaces: '800 123 4567' * @example A toll-free number with international code prefix: '+308001234567' * @example A toll-free number with international code prefix and spaces: '+30 800 123 4567' * * @return string */ public static function tollFreeNumber() { return ltrim(static::numerify( strtr(static::randomElement(static::$tollFreeFormats), [ '{{internationalCodePrefix}}' => static::internationalCodePrefix(), ]) )); } /** * Generate a code for a shared-cost number. * * @internal Used to generate shared-cost numbers. * * @return string */ public static function sharedCostCode() { return static::randomElement(static::$sharedCostCodes); } /** * Generate a shared-cost number. * * @example A shared-cost number: '8011234567' * @example A shared-cost number with spaces: '801 123 4567' * @example A shared-cost number with international code prefix: '+308011234567' * @example A shared-cost number with international code prefix and spaces: '+30 801 123 4567' * * @return string */ public function sharedCostNumber() { return ltrim(static::numerify($this->generator->parse( static::randomElement(static::$sharedCostFormats) ))); } /** * Generate a code for a premium-rate number. * * @internal Used to generate premium-rate numbers. * * @return string */ public static function premiumRateCode() { return static::randomElement(static::$premiumRateCodes); } /** * Generate a premium-rate number. * * @example A premium-rate number: '9011234567' * @example A premium-rate number with spaces: '901 123 4567' * @example A premium-rate number with international code prefix: '+309011234567' * @example A premium-rate number with international code prefix and spaces: '+30 901 123 4567' * * @return string */ public function premiumRateNumber() { return ltrim(static::numerify($this->generator->parse( static::randomElement(static::$premiumRateFormats) ))); } }