%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/fakerphp/faker/src/Faker/Provider/es_ES/ |
Upload File : |
<?php
namespace Faker\Provider\es_ES;
class PhoneNumber extends \Faker\Provider\PhoneNumber
{
protected static $formats = [
'+34 9## ## ####',
'+34 9## ######',
'+34 9########',
'+34 9##-##-####',
'+34 9##-######',
'9## ## ####',
'9## ######',
'9########',
'9##-##-####',
'9##-######',
];
protected static $mobileFormats = [
'+34 6## ## ####',
'+34 6## ######',
'+34 6########',
'+34 6##-##-####',
'+34 6##-######',
'6## ## ####',
'6## ######',
'6########',
'6##-##-####',
'6##-######',
];
protected static $tollFreeFormats = [
'900 ### ###',
'800 ### ###',
];
public static function mobileNumber()
{
return static::numerify(static::randomElement(static::$mobileFormats));
}
public static function tollFreeNumber()
{
return static::numerify(static::randomElement(static::$tollFreeFormats));
}
}