Address.php
5 years ago
Color.php
5 years ago
Company.php
5 years ago
Internet.php
5 years ago
Payment.php
5 years ago
Person.php
5 years ago
PhoneNumber.php
5 years ago
Company.php
33 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Faker\Provider\th_TH; |
| 4 | |
| 5 | class Company extends \Faker\Provider\Company |
| 6 | { |
| 7 | protected static $slogans = array( |
| 8 | array( |
| 9 | 'เชื่อมต่อ', 'สรรสร้าง', 'เชื่อมโยง', 'ส่งเสริม', 'เปลี่ยน', 'ประสาน', 'พัฒนา', |
| 10 | ), |
| 11 | array( |
| 12 | 'ตลาด', 'อุตสาหกรรม', 'โครงสร้าง', 'เทคโนโลยี', 'เนื้อหา', 'สถาปัตยกรรม', 'ระบบ', 'ความคิด', 'ผู้ใช้', 'เครือข่าย', 'ประสบการณ์', |
| 13 | ), |
| 14 | array( |
| 15 | 'ที่แข็งแกร่ง', 'ที่มีคุณค่า', 'ที่สร้างสรรค์', '24 ชั่วโมง', 'อย่างสากล', 'สู่ผู้บริโภค', 'ที่น่าดึงดูด', 'อย่างมีประสิทธิภาพ', 'อย่างไร้รอยต่อ', 'อย่างไร้ที่ติ', 'ที่ปรับตัวได้', 'คุณภาพสากล', 'พร้อมใช้งาน', 'ที่มีความหมาย', 'ที่โปร่งใส', 'เพื่อการเปลี่ยนแปลง', 'สมัยใหม่', 'รูปแบบใหม่', |
| 16 | ), |
| 17 | ); |
| 18 | |
| 19 | /** |
| 20 | * @example 'เชื่อมต่อตลาดที่แข็งแกร่ง' |
| 21 | */ |
| 22 | public function slogan() |
| 23 | { |
| 24 | $result = array(); |
| 25 | |
| 26 | foreach (static::$slogans as &$slogan) { |
| 27 | $result[] = static::randomElement($slogan); |
| 28 | } |
| 29 | |
| 30 | return implode($result); |
| 31 | } |
| 32 | } |
| 33 |