1 | <?php |
||
17 | class EmployeesController extends Controller |
||
18 | { |
||
19 | 24 | public function __construct() |
|
25 | |||
26 | |||
27 | /** |
||
28 | * Display a listing of the resource. |
||
29 | * |
||
30 | * @return \Illuminate\Http\Response |
||
31 | */ |
||
32 | 3 | public function index() |
|
41 | |||
42 | /** |
||
43 | * Store a newly created resource in storage. |
||
44 | * |
||
45 | * @param EmployeeRequest $request |
||
46 | * @return \Illuminate\Http\Response |
||
47 | */ |
||
48 | 6 | public function store(EmployeeRequest $request) |
|
58 | |||
59 | /** |
||
60 | * Display the specified resource. |
||
61 | * |
||
62 | * @param int $id |
||
63 | * @return \Illuminate\Http\Response |
||
64 | */ |
||
65 | 6 | public function show($id) |
|
72 | |||
73 | /** |
||
74 | * Update the specified resource in storage. |
||
75 | * |
||
76 | * @param EmployeeRequest $request |
||
77 | * @param int $id |
||
78 | * @return \Illuminate\Http\Response |
||
79 | */ |
||
80 | 3 | public function update(EmployeeRequest $request, $id) |
|
91 | |||
92 | /** |
||
93 | * Remove the specified resource from storage. |
||
94 | * |
||
95 | * @param int $id |
||
96 | * @return \Illuminate\Http\Response |
||
97 | */ |
||
98 | 6 | public function destroy($id) |
|
106 | } |
||
107 |