BroadcastServiceProvider::commands()

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

BroadcastServiceProvider

BroadcastServiceProvider class BroadcastServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider void register() Register the service provider. static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider array

BroadcastNotificationCreated::__wakeup()

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

BroadcastNotificationCreated::__sleep()

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

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::broadcastWith()

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

BroadcastNotificationCreated::broadcastOn()

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

BroadcastNotificationCreated

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

BroadcastManager::__construct()

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

BroadcastManager::__call()

mixed __call(string $method, array $parameters) Dynamically call the default driver instance. Parameters string $method array $parameters Return Value mixed