public function readAll(Request $request)
    {
        $user = $request->user();
        $user->unreadNotifications()->update(['read_at' => now()]);
        return $this->sendResponse(true, '');
    }
public function readAll(Request $request)
    {
        $user = $request->user();
        $user->unreadNotifications()->update(['read_at' => now()]);
        return $this->sendResponse(true, '');
    }
public function readAll ( Request $ request ) { $ user = $ request -> user ( ) ; $ user -> unreadNotifications ( ) -> update ( [ 'read_at' => now ( ) ] ) ; return $ this -> sendResponse ( true , '' ) ; }
Read all notification

@no-permission
@return  JsonResponse
Read all notification