| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 20 | 
| Code Lines | 15 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 16 | public function run()  | 
            ||
| 17 |     { | 
            ||
| 18 | $event_categories = [  | 
            ||
| 19 | ['name' => 'Regular Jam'],  | 
            ||
| 20 | ['name' => 'Class'],  | 
            ||
| 21 | ['name' => 'Workshop'],  | 
            ||
| 22 | ['name' => 'Festival'],  | 
            ||
| 23 | ['name' => 'Special Jam'],  | 
            ||
| 24 | ['name' => 'Underscore'],  | 
            ||
| 25 | ['name' => 'Teachers Meeting'],  | 
            ||
| 26 | ['name' => 'Performance'],  | 
            ||
| 27 | ['name' => 'Lecture / Conference / Film'],  | 
            ||
| 28 | ['name' => 'Lab'],  | 
            ||
| 29 | ['name' => 'Camp / Journey'],  | 
            ||
| 30 | ['name' => 'Other event'],  | 
            ||
| 31 | ];  | 
            ||
| 32 | |||
| 33 | // Seeding in this way to automatically create the slug with spatie/laravel-sluggable  | 
            ||
| 34 |         collect($event_categories)->each(function ($event_category) { | 
            ||
| 35 | EventCategory::create($event_category);  | 
            ||
| 36 | });  | 
            ||
| 40 |