Address.php
5 years ago
Company.php
5 years ago
Payment.php
5 years ago
Person.php
5 years ago
PhoneNumber.php
5 years ago
Company.php
27 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Faker\Provider\sv_SE; |
| 4 | |
| 5 | class Company extends \Faker\Provider\Company |
| 6 | { |
| 7 | protected static $formats = array( |
| 8 | '{{lastName}} {{companySuffix}}', |
| 9 | '{{lastName}} {{companySuffix}}', |
| 10 | '{{lastName}} {{companySuffix}}', |
| 11 | '{{firstName}} {{lastName}} {{companySuffix}}', |
| 12 | '{{lastName}} & {{lastName}} {{companySuffix}}', |
| 13 | '{{lastName}} & {{lastName}}', |
| 14 | '{{lastName}} och {{lastName}}', |
| 15 | '{{lastName}} och {{lastName}} {{companySuffix}}' |
| 16 | ); |
| 17 | |
| 18 | protected static $companySuffix = array('AB', 'HB'); |
| 19 | |
| 20 | protected static $jobTitles = array('Automationsingenjör', 'Bagare', 'Digital Designer', 'Ekonom', 'Ekonomichef', 'Elektronikingenjör', 'Försäljare', 'Försäljningschef', 'Innovationsdirektör', 'Investeringsdirektör', 'Journalist', 'Kock', 'Kulturstrateg', 'Läkare', 'Lokförare', 'Mäklare', 'Programmerare', 'Projektledare', 'Sjuksköterska', 'Utvecklare', 'UX Designer', 'Webbutvecklare'); |
| 21 | |
| 22 | public function jobTitle() |
| 23 | { |
| 24 | return static::randomElement(static::$jobTitles); |
| 25 | } |
| 26 | } |
| 27 |