1 | <?php |
||
8 | class PhotosController extends Controller |
||
9 | { |
||
10 | /** |
||
11 | * Show the form for creating a new photo. |
||
12 | * |
||
13 | * @return \Illuminate\View\View |
||
14 | */ |
||
15 | public function create() |
||
24 | |||
25 | /** |
||
26 | * Store a newly created photo in storage. |
||
27 | * |
||
28 | * @param $request |
||
29 | * @param $filesystem |
||
30 | * @return \Illuminate\View\View |
||
31 | */ |
||
32 | public function store(Request $request) |
||
58 | |||
59 | /** |
||
60 | * Display the specified photo. |
||
61 | * |
||
62 | * @param int $albumId Id of the album |
||
63 | * @param int $photoId Id of the photo |
||
64 | * @return \Illuminate\View\View |
||
65 | */ |
||
66 | public function show($albumId, $photoId) |
||
71 | |||
72 | /** |
||
73 | * Show the form for editing the specified photo. |
||
74 | * |
||
75 | * @param int $albumId Id of the album |
||
76 | * @param int $photoId Id of the photo |
||
77 | * @return \Illuminate\View\View |
||
78 | */ |
||
79 | public function edit($albumId, $photoId) |
||
90 | |||
91 | /** |
||
92 | * Update the specified photo in the database. |
||
93 | * |
||
94 | * @param int $albumId Id of the album |
||
95 | * @param int $photoId Id of the photo |
||
96 | * @return \Illuminate\View\View |
||
97 | */ |
||
98 | public function update(Request $request, $albumId, $photoId) |
||
119 | |||
120 | /** |
||
121 | * Remove the specified photo from the database. |
||
122 | * |
||
123 | * @param int $albumId Id of the album |
||
124 | * @param int $photoId Id of the photo |
||
125 | * @return \Illuminate\View\View |
||
126 | */ |
||
127 | public function destroy($albumId, $photoId) |
||
135 | } |