| 148 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
namespace Illuminate\Support\Facades;
|
|
|
4 |
|
|
|
5 |
use Illuminate\Contracts\Broadcasting\Factory as BroadcastingFactoryContract;
|
|
|
6 |
|
|
|
7 |
/**
|
|
|
8 |
* @method static void routes(array|null $attributes = null)
|
|
|
9 |
* @method static void userRoutes(array|null $attributes = null)
|
|
|
10 |
* @method static void channelRoutes(array|null $attributes = null)
|
|
|
11 |
* @method static string|null socket(\Illuminate\Http\Request|null $request = null)
|
|
|
12 |
* @method static \Illuminate\Broadcasting\PendingBroadcast event(mixed|null $event = null)
|
|
|
13 |
* @method static void queue(mixed $event)
|
|
|
14 |
* @method static mixed connection(string|null $driver = null)
|
|
|
15 |
* @method static mixed driver(string|null $name = null)
|
|
|
16 |
* @method static \Pusher\Pusher pusher(array $config)
|
|
|
17 |
* @method static \Ably\AblyRest ably(array $config)
|
|
|
18 |
* @method static string getDefaultDriver()
|
|
|
19 |
* @method static void setDefaultDriver(string $name)
|
|
|
20 |
* @method static void purge(string|null $name = null)
|
|
|
21 |
* @method static \Illuminate\Broadcasting\BroadcastManager extend(string $driver, \Closure $callback)
|
|
|
22 |
* @method static \Illuminate\Contracts\Foundation\Application getApplication()
|
|
|
23 |
* @method static \Illuminate\Broadcasting\BroadcastManager setApplication(\Illuminate\Contracts\Foundation\Application $app)
|
|
|
24 |
* @method static \Illuminate\Broadcasting\BroadcastManager forgetDrivers()
|
|
|
25 |
* @method static mixed auth(\Illuminate\Http\Request $request)
|
|
|
26 |
* @method static mixed validAuthenticationResponse(\Illuminate\Http\Request $request, mixed $result)
|
|
|
27 |
* @method static void broadcast(array $channels, string $event, array $payload = [])
|
|
|
28 |
* @method static array|null resolveAuthenticatedUser(\Illuminate\Http\Request $request)
|
|
|
29 |
* @method static void resolveAuthenticatedUserUsing(\Closure $callback)
|
|
|
30 |
* @method static \Illuminate\Broadcasting\Broadcasters\Broadcaster channel(\Illuminate\Contracts\Broadcasting\HasBroadcastChannel|string $channel, callable|string $callback, array $options = [])
|
|
|
31 |
*
|
|
|
32 |
* @see \Illuminate\Broadcasting\BroadcastManager
|
|
|
33 |
* @see \Illuminate\Broadcasting\Broadcasters\Broadcaster
|
|
|
34 |
*/
|
|
|
35 |
class Broadcast extends Facade
|
|
|
36 |
{
|
|
|
37 |
/**
|
|
|
38 |
* Get the registered name of the component.
|
|
|
39 |
*
|
|
|
40 |
* @return string
|
|
|
41 |
*/
|
|
|
42 |
protected static function getFacadeAccessor()
|
|
|
43 |
{
|
|
|
44 |
return BroadcastingFactoryContract::class;
|
|
|
45 |
}
|
|
|
46 |
}
|