BroadcastServiceProvider::commands()

void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void

BroadcastServiceProvider::pathsToPublish()

static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. Parameters string $provider string $group Return Value array

BroadcastNotificationCreated::__sleep()

array __sleep() Prepare the instance for serialization. Return Value array

BroadcastNotificationCreated::broadcastWith()

array broadcastWith() Get the data that should be sent with the broadcasted event. Return Value array

BroadcastNotificationCreated::__wakeup()

void __wakeup() Restore the model after serialization. Return Value void

BroadcastNotificationCreated::__construct()

void __construct(mixed $notifiable, Notification $notification, array $data) Create a new event instance. Parameters mixed $notifiable Notification $notification array $data Return Value void

BroadcastNotificationCreated

BroadcastNotificationCreated class BroadcastNotificationCreated implements ShouldBroadcast (View source) Traits SerializesModels SerializesAndRestoresModelIdentifiers

BroadcastManager::socket()

string|null socket(Request|null $request = null) Get the socket ID for the given request. Parameters Request|null $request Return Value string|null

BroadcastNotificationCreated::broadcastOn()

array broadcastOn() Get the channels the event should broadcast on. Return Value array

BroadcastManager::__construct()

void __construct(Application $app) Create a new manager instance. Parameters Application $app Return Value void