/**
  * Seed the specialties table.
  *
  * @return void
  * @author PJ
  */
 private function seedTable($data)
 {
     foreach ($data as $lineIndex => $row) {
         $specialty = App\Specialty::create(['code' => $row[0], 'full' => $row[1], 'is_parent' => $row[2] == 'yes' ? 1 : 0]);
     }
 }
 /**
  * Seed the specialties table.
  *
  * @return void
  * @author PJ
  */
 private function seedTable($data)
 {
     foreach ($data as $lineIndex => $row) {
         $specialty = App\Specialty::create(['code' => $row[0], 'full' => $row[1]]);
     }
 }