generated from spatie/package-skeleton-laravel
-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathBroadcaster.php
32 lines (29 loc) · 869 Bytes
/
Broadcaster.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
namespace HotwiredLaravel\TurboLaravel\Broadcasters;
use Illuminate\Broadcasting\Channel;
interface Broadcaster
{
/**
* @param Channel[] $channels
* @param ?string $target = null
* @param ?string $targets = null
* @param ?string $partial = null
* @param ?array $partialData = []
* @param ?string $inlineContent = null
* @param bool $escapeInlineContent = true
* @param ?string $exceptSocket = null
*/
public function broadcast(
array $channels,
bool $later,
string $action,
string $target = null,
string $targets = null,
string $partial = null,
?array $partialData = [],
string $inlineContent = null,
bool $escapeInlineContent = true,
array $attributes = [],
string $exceptSocket = null,
): void;
}