1 | <?php |
||
8 | class AlbumsController extends Controller |
||
9 | { |
||
10 | /** |
||
11 | * Show the form for creating a new album. |
||
12 | * |
||
13 | * @return \Illuminate\View\View |
||
14 | */ |
||
15 | public function create() |
||
20 | |||
21 | /** |
||
22 | * Store a newly created album in storage. |
||
23 | * |
||
24 | * @param $request |
||
25 | * @return \Illuminate\View\View |
||
26 | */ |
||
27 | public function store(Request $request) |
||
45 | |||
46 | /** |
||
47 | * Display the specified albums' photos. |
||
48 | * |
||
49 | * @param int $id Id of the album |
||
50 | * @return \Illuminate\View\View |
||
51 | */ |
||
52 | public function show($id) |
||
58 | |||
59 | /** |
||
60 | * Show the form for editing the specified album. |
||
61 | * |
||
62 | * @param int $id Id of the album |
||
63 | * @return \Illuminate\View\View |
||
64 | */ |
||
65 | public function edit($id) |
||
72 | |||
73 | /** |
||
74 | * Update the specified album in the database. |
||
75 | * |
||
76 | * @param int $id Id of the album |
||
77 | * @return \Illuminate\View\View |
||
78 | */ |
||
79 | public function update(Request $request, $id) |
||
98 | |||
99 | /** |
||
100 | * Remove the specified album from the database. |
||
101 | * |
||
102 | * @param int $id Id of the album |
||
103 | * @return \Illuminate\View\View |
||
104 | */ |
||
105 | public function destroy($id) |
||
114 | } |