| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | class GalleryClientAPIController extends Controller |
||
| 12 | { |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Display a listing of the resource. |
||
| 16 | * |
||
| 17 | * @return \Illuminate\Http\Response |
||
| 18 | */ |
||
| 19 | public function index() |
||
| 20 | { |
||
| 21 | return new GalleryCollection(Gallery::all()); |
||
|
|
|||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Display the specified resource. |
||
| 26 | * |
||
| 27 | * @param Adminetic\Website\Models\Admin\Gallery $gallery |
||
| 28 | * @return \Illuminate\Http\Response |
||
| 29 | */ |
||
| 30 | public function show(Gallery $gallery) |
||
| 33 | } |
||
| 34 | } |
||
| 35 |