class
Illuminate
/
Foundation
/
Support
/
Providers
/
EventServiceProvider
EventServiceProvider
Extends
Properties
protected
$listen
array>
The event handler mappings for the application.
Default: []
protected
$subscribe array
The subscribers to register.
Default: []
protected
$observers
array|object|array|object>>
The model observers to register.
Default: []
Methods
public
register ( ) : void
Register the application's event listeners.
public
boot ( ) : void
Boot any application services.
public
listens ( ) : array
Get the events and handlers.
public
getEvents ( ) : array
Get the discovered events and listeners for the application.
protected
discoveredEvents ( ) : array
Get the discovered events for the application.
public
shouldDiscoverEvents ( ) : bool
Determine if events and listeners should be automatically discovered.
public
discoverEvents ( ) : array
Discover the events and listeners for the application.
protected
discoverEventsWithin ( ) : array
Get the listener directories that should be used to discover events.
protected
eventDiscoveryBasePath ( ) : string
Get the base path to be used during event discovery.