Address.php
5 years ago
Color.php
5 years ago
Company.php
5 years ago
Internet.php
5 years ago
Person.php
5 years ago
PhoneNumber.php
5 years ago
Company.php
55 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Faker\Provider\hy_AM; |
| 4 | |
| 5 | class Company extends \Faker\Provider\Company |
| 6 | { |
| 7 | protected static $formats = array( |
| 8 | '{{lastName}} {{companySuffix}}', |
| 9 | '{{lastName}} {{companySuffix}}', |
| 10 | '{{lastName}} {{companySuffix}}', |
| 11 | '{{lastName}} {{companySuffix}}', |
| 12 | '{{lastName}} {{companySuffix}}', |
| 13 | '{{lastName}} {{companySuffix}}', |
| 14 | '{{lastName}} {{companySuffix}}', |
| 15 | '{{lastName}} {{companySuffix}}', |
| 16 | '{{lastName}} եղբայրներ', |
| 17 | ); |
| 18 | |
| 19 | protected static $catchPhraseWords = array( |
| 20 | |
| 21 | ); |
| 22 | |
| 23 | protected static $bsWords = array( |
| 24 | |
| 25 | ); |
| 26 | |
| 27 | protected static $companySuffix = array('ՍՊԸ','և որդիներ','ՓԲԸ','ԲԲԸ'); |
| 28 | |
| 29 | /** |
| 30 | * @example 'Robust full-range hub' |
| 31 | */ |
| 32 | public function catchPhrase() |
| 33 | { |
| 34 | $result = array(); |
| 35 | foreach (static::$catchPhraseWords as &$word) { |
| 36 | $result[] = static::randomElement($word); |
| 37 | } |
| 38 | |
| 39 | return join(' ', $result); |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * @example 'integrate extensible convergence' |
| 44 | */ |
| 45 | public function bs() |
| 46 | { |
| 47 | $result = array(); |
| 48 | foreach (static::$bsWords as &$word) { |
| 49 | $result[] = static::randomElement($word); |
| 50 | } |
| 51 | |
| 52 | return join(' ', $result); |
| 53 | } |
| 54 | } |
| 55 |