App\Http\Controllers\API\InteractionController::batchLike PHP Method

batchLike() public method

Like several songs at once as the currently authenticated user.
public batchLike ( BatchInteractionRequest $request ) : Illuminate\Http\JsonResponse
$request App\Http\Requests\API\BatchInteractionRequest
return Illuminate\Http\JsonResponse
    public function batchLike(BatchInteractionRequest $request)
    {
        return response()->json(Interaction::batchLike((array) $request->input('songs'), $request->user()));
    }