Вход Регистрация
Файл: gapps/vendor/fzaninotto/faker/src/Faker/Provider/hy_AM/PhoneNumber.php
Строк: 31
<?php

namespace FakerProviderhy_AM;

class 
PhoneNumber extends FakerProviderPhoneNumber
{

    protected static 
$codes = array(9196994377939498977755954149);

    protected static 
$numberFormats = array(
        
'######',
        
'##-##-##',
        
'###-###',
    );

    protected static 
$formats = array(
        
'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);
    }

    
/**
     * @return mixed
     */
    
public function numberFormat()
    {
        return static::
randomElement(static::$numberFormats);
    }
}
Онлайн: 0
Реклама