[COMPONENT][FreeNetwork] Iterate documentation

This commit is contained in:
2021-12-04 19:52:14 +00:00
parent 778cb57d83
commit 9506909e7a
7 changed files with 55 additions and 5 deletions

View File

@@ -42,6 +42,15 @@ class Notification extends Component
return Event::next;
}
/**
* Bring given Activity to Targets's attention
*
* @param Actor $sender
* @param Activity $activity
* @param array $targets
* @param string|null $reason
* @return bool
*/
public function notify(Actor $sender, Activity $activity, array $targets, ?string $reason = null): bool
{
$remote_targets = [];