W3cubDocs

/Laravel 5.8

Dispatchable

trait Dispatchable (View source)

Methods

static void dispatch()

Dispatch the event with the given arguments.

static PendingBroadcast broadcast()

Broadcast the event with the given arguments.

Details

static void dispatch()

Dispatch the event with the given arguments.

Return Value

void

static PendingBroadcast broadcast()

Broadcast the event with the given arguments.

Return Value

PendingBroadcast

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Foundation/Events/Dispatchable.html