File Manager Lite
Dir:
/home/codewavebd/public_html/vendor/fakerphp/faker/src/Faker/Provider/hy_AM
Upload
[..]
Address.php (6.57 KB)
Edit
Rename
Del
Color.php (378 B)
Edit
Rename
Del
Company.php (1.23 KB)
Edit
Rename
Del
Internet.php (310 B)
Edit
Rename
Del
Person.php (15.14 KB)
Edit
Rename
Del
PhoneNumber.php (844 B)
Edit
Rename
Del
Edit: PhoneNumber.php
<?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); } }
Simpan