public function run()
 {
     $faker = Faker::create();
     foreach (range(1, 10) as $index) {
         Skema::create([]);
     }
 }
Beispiel #2
0
 /**
  * Remove the specified skema from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Skema::destroy($id);
     return Redirect::to('admin/kelolaskema' . '?tahun=' . Session::get('sktahun') . '&jenjang=' . Session::get('skjenjang') . '&nocontest=' . Session::get('sklomba'))->withTitle('Skema');
 }