Address.php
5 years ago
Company.php
5 years ago
Person.php
5 years ago
PhoneNumber.php
5 years ago
Utils.php
5 years ago
Company.php
29 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Faker\Provider\bn_BD; |
| 4 | |
| 5 | class Company extends \Faker\Provider\Company |
| 6 | { |
| 7 | protected static $formats = array( |
| 8 | '{{companyName}} {{companyType}}' |
| 9 | ); |
| 10 | |
| 11 | protected static $names = array( |
| 12 | 'রহিম', 'করিম', 'বাবলু' |
| 13 | ); |
| 14 | |
| 15 | protected static $types = array( |
| 16 | 'সিমেন্ট', 'সার', 'ঢেউটিন' |
| 17 | ); |
| 18 | |
| 19 | public static function companyType() |
| 20 | { |
| 21 | return static::randomElement(static::$types); |
| 22 | } |
| 23 | |
| 24 | public static function companyName() |
| 25 | { |
| 26 | return static::randomElement(static::$names); |
| 27 | } |
| 28 | } |
| 29 |