| 1 | <?php |
||
| 9 | class BatchLikeController extends Controller |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Like several songs at once as the currently authenticated user. |
||
| 13 | * |
||
| 14 | * @param BatchInteractionRequest $request |
||
| 15 | * |
||
| 16 | * @return JsonResponse |
||
| 17 | */ |
||
| 18 | function store(BatchInteractionRequest $request) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Unlike several songs at once as the currently authenticated user. |
||
| 25 | * |
||
| 26 | * @param BatchInteractionRequest $request |
||
| 27 | * |
||
| 28 | * @return JsonResponse |
||
| 29 | */ |
||
| 30 | public function destroy(BatchInteractionRequest $request) |
||
| 34 | } |
||
| 35 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.