"Claus Trasbo",
'email' => "ctr@sde.dk",
'title' => "Forstander for Erhvervskollegiet",
'phone' => "40886515",
'phonetimes' => "",
],
[
'contactname' => "Birgitte True",
'email' => "bit@sde.dk",
'title' => "",
'phone' => "63126715",
'phonetimes' => "
Mandag-Torsdag: 8.00-15.00
Fredag: 8.00-12.00
",
],
[
'contactname' => "Thomas Thomsen",
'email' => "thth@sde.dk",
'title' => "Kollegieassistent",
'phone' => "24629450",
'phonetimes' => "",
],
[
'contactname' => "Anja Holm Brix",
'email' => "ahb@sde.dk",
'title' => "Kollegieassistent",
'phone' => "24629450",
'phonetimes' => "",
],
[
'contactname' => "Britta Overgaard Brink Olsen",
'email' => "brio@sde.dk",
'title' => "Kollegieassistent",
'phone' => "24629450",
'phonetimes' => "",
],
[
'contactname' => "Jesper Sandberg",
'email' => "jesa@sde.dk",
'title' => "Kollegieassistent",
'phone' => "24629450",
'phonetimes' => "",
],
];
foreach ($contactdata as $data) {
$contact = new \App\Contact();
$contact->contactname = $data["contactname"];
$contact->email = $data["email"];
$contact->title = $data["title"];
$contact->phone = $data["phone"];
$contact->phonetimes = $data["phonetimes"];
$contact->save();
}
}
}