Browse Source
Merge pull request #54117 from nextcloud/feat/noid/add-bulk-activity
Merge pull request #54117 from nextcloud/feat/noid/add-bulk-activity
feat(activity): add bulk activity optionpull/54058/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 91 additions and 8 deletions
-
1lib/composer/composer/autoload_classmap.php
-
1lib/composer/composer/autoload_static.php
-
1lib/private/Activity/Event.php
-
39lib/private/Activity/Manager.php
-
3lib/private/Server.php
-
24lib/public/Activity/IBulkConsumer.php
-
14lib/public/Activity/IManager.php
-
16tests/lib/Activity/ManagerTest.php
@ -0,0 +1,24 @@ |
|||||
|
<?php |
||||
|
|
||||
|
/** |
||||
|
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors |
||||
|
* SPDX-License-Identifier: AGPL-3.0-or-later |
||||
|
*/ |
||||
|
|
||||
|
namespace OCP\Activity; |
||||
|
|
||||
|
/** |
||||
|
* Interface IBulkConsumer |
||||
|
* |
||||
|
* @since 32.0.0 |
||||
|
*/ |
||||
|
interface IBulkConsumer extends IConsumer { |
||||
|
/** |
||||
|
* @param IEvent $event |
||||
|
* @param array $affectedUserIds |
||||
|
* @param ISetting $setting |
||||
|
* @return void |
||||
|
* @since 32.0.0 |
||||
|
*/ |
||||
|
public function bulkReceive(IEvent $event, array $affectedUserIds, ISetting $setting): void; |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue