BroadcastManager::driver()

mixed driver(string $name = null) Get a driver instance. Parameters string $name Return Value mixed

Broadcaster::validAuthenticationResponse()

mixed validAuthenticationResponse(Request $request, mixed $result) Return the valid authentication response. Parameters Request $request mixed $result Return Value mixed

BroadcastEvent

BroadcastEvent class BroadcastEvent (View source) Methods void __construct(Broadcaster $broadcaster) Create a new job handler instance. void fire(Job $job, array $data) Handle the queued job.

BroadcastEvent::fire()

void fire(Job $job, array $data) Handle the queued job. Parameters Job $job array $data Return Value void

Broadcasting

Illuminate\Broadcasting Namespaces Illuminate\Broadcasting\Broadcasters

BroadcastEvent::__construct()

void __construct(Broadcaster $broadcaster) Create a new job handler instance. Parameters Broadcaster $broadcaster Return Value void

Broadcaster

Broadcaster class Broadcaster implements Broadcaster (View source) Methods $this channel(string $channel, callable $callback) Register a channel authenticator.

Broadcaster

Broadcaster interface Broadcaster (View source) Methods mixed auth(Request $request) Authenticate the incoming request for a given channel. mixed validAuthenticationResponse(Request $request, mixed $result) Return the valid authentication response. void broadcast(array $channels, string $event, array $payload = array()) Broadcast the given event.

Broadcaster::channel()

$this channel(string $channel, callable $callback) Register a channel authenticator. Parameters string $channel callable $callback Return Value $this

Broadcaster::broadcast()

void broadcast(array $channels, string $event, array $payload = array()) Broadcast the given event. Parameters array $channels string $event array $payload Return Value void