| Server IP : 3.138.164.131 / Your IP : 216.73.216.136 Web Server : Apache System : Linux ns1.techtime.me 4.18.0-147.8.1.el8.lve.1.x86_64 #1 SMP Mon Jun 29 09:55:57 EDT 2020 x86_64 User : injazaat ( 1471) PHP Version : 8.1.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/injazaat/public_html/vendor/fakerphp/faker/src/Faker/Provider/hy_AM/ |
Upload File : |
<?php
namespace Faker\Provider\hy_AM;
class PhoneNumber extends \Faker\Provider\PhoneNumber
{
protected static $codes = [91, 96, 99, 43, 77, 93, 94, 98, 97, 77, 55, 95, 41, 49];
protected static $numberFormats = [
'######',
'##-##-##',
'###-###',
];
protected static $formats = [
'0{{code}} {{numberFormat}}',
'(0{{code}}) {{numberFormat}}',
'+374{{code}} {{numberFormat}}',
'+374 {{code}} {{numberFormat}}',
];
public function phoneNumber()
{
return static::numerify($this->generator->parse(static::randomElement(static::$formats)));
}
public function code()
{
return static::randomElement(static::$codes);
}
public function numberFormat()
{
return static::randomElement(static::$numberFormats);
}
}