ShowController::destroy()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 1
nc 1
nop 1
1
<?php namespace WITR\Http\Controllers;
2
3
use WITR\Http\Requests;
4
use WITR\Http\Controllers\Controller;
5
6
use Illuminate\Http\Request;
7
8
use WITR\TimeSlot;
9
use WITR\Schedule\WeeklySchedule;
10
11
class ShowController extends Controller {
12
13
	/**
14
	 * Display a listing of the resource.
15
	 *
16
	 * @return Response
17
	 */
18
	public function schedule()
19
	{
20
		$schedule = WeeklySchedule::mergeFromTimeSlots(TimeSlot::with('djForTimeslot', 'showForTimeslot')->get());
21
		return view('schedule.schedule')->withSchedule($schedule);
22
	}
23
24
	/**
25
	 * Show the form for creating a new resource.
26
	 *
27
	 * @return Response
28
	 */
29
	public function create()
30
	{
31
		//
32
	}
33
34
	/**
35
	 * Store a newly created resource in storage.
36
	 *
37
	 * @return Response
38
	 */
39
	public function store()
40
	{
41
		//
42
	}
43
44
	/**
45
	 * Display the specified resource.
46
	 *
47
	 * @param  int  $id
48
	 * @return Response
49
	 */
50
	public function show($id)
0 ignored issues
show
Unused Code introduced by
The parameter $id is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
51
	{
52
		//
53
	}
54
55
	/**
56
	 * Show the form for editing the specified resource.
57
	 *
58
	 * @param  int  $id
59
	 * @return Response
60
	 */
61
	public function edit($id)
0 ignored issues
show
Unused Code introduced by
The parameter $id is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
62
	{
63
		//
64
	}
65
66
	/**
67
	 * Update the specified resource in storage.
68
	 *
69
	 * @param  int  $id
70
	 * @return Response
71
	 */
72
	public function update($id)
0 ignored issues
show
Unused Code introduced by
The parameter $id is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
73
	{
74
		//
75
	}
76
77
	/**
78
	 * Remove the specified resource from storage.
79
	 *
80
	 * @param  int  $id
81
	 * @return Response
82
	 */
83
	public function destroy($id)
0 ignored issues
show
Unused Code introduced by
The parameter $id is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
84
	{
85
		//
86
	}
87
88
}
89