/home/techb158/dev.balacoffee.com/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY
NameSizeModeActions
Address.php262330644editdlrm
Company.php137180644editdlrm
Miscellaneous.php46240644editdlrm
Payment.php73870644editdlrm
Person.php630360644editdlrm
PhoneNumber.php60160644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/fzaninotto/faker/src/Faker/Provider/ms_MY/PhoneNumber.php (6016B)
generator->parse($format)); } else { return static::numerify($this->generator->parse($format)); } } /** * Return prefix digits for 011 numbers * * @example '10' * * @return string */ public static function zeroOneOnePrefix() { return static::numerify(static::randomElement(static::$zeroOneOnePrefix)); } /** * Return prefix digits for 014 numbers * * @example '2' * * @return string */ public static function zeroOneFourPrefix() { return static::numerify(static::randomElement(static::$zeroOneFourPrefix)); } /** * Return prefix digits for 015 numbers * * @example '1' * * @return string */ public static function zeroOneFivePrefix() { return static::numerify(static::randomElement(static::$zeroOneFivePrefix)); } /** * Return a Malaysian Fixed Line Phone Number. * * @example '+603-4567-8912' * * @param bool $countryCodePrefix true, false * @param bool $formatting true, false * * @return string */ public function fixedLineNumber($countryCodePrefix = true, $formatting = true) { if ($formatting) { $format = static::randomElement(static::$fixedLineNumberFormatsWithFormatting); } else { $format = static::randomElement(static::$fixedLineNumberFormats); } if ($countryCodePrefix) { return static::countryCodePrefix($formatting) . static::numerify($this->generator->parse($format)); } else { return static::numerify($this->generator->parse($format)); } } /** * Return a Malaysian VoIP Phone Number. * * @example '+6015-678-9234' * * @param bool $countryCodePrefix true, false * @param bool $formatting true, false * * @return string */ public function voipNumber($countryCodePrefix = true, $formatting = true) { if ($formatting) { $format = static::randomElement(static::$voipNumberWithFormatting); } else { $format = static::randomElement(static::$voipNumber); } if ($countryCodePrefix) { return static::countryCodePrefix($formatting) . static::numerify($this->generator->parse($format)); } else { return static::numerify($this->generator->parse($format)); } } /** * Return a Malaysian Country Code Prefix. * * @example '+6' * * @param bool $formatting true, false * * @return string */ public static function countryCodePrefix($formatting = true) { if ($formatting) { return static::randomElement(static::$plusSymbol) . static::randomElement(static::$countryCodePrefix); } else { return static::randomElement(static::$countryCodePrefix); } } }