Documentation

EventServiceProvider extends EventServiceProvider

Table of Contents

$listen  : array<string|int, mixed>
The event listener mappings for the application.
shouldDiscoverEvents()  : bool
Determine if events and listeners should be automatically discovered.

Properties

$listen

The event listener mappings for the application.

protected array<string|int, mixed> $listen = [AppEventsExampleEvent::class => [AppListenersExampleListener::class]]

Methods

shouldDiscoverEvents()

Determine if events and listeners should be automatically discovered.

public shouldDiscoverEvents() : bool
Return values
bool

Search results