class
Illuminate
/
Foundation
/
Console
/
EventGenerateCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
EventGenerateCommand
Extends
Properties
protected
$name string
The console command name.
Default: 'event:generate'
protected
$description string
The console command description.
Default: 'Generate the missing events and listeners based on registration'
Methods
public
handle ( ) : void
Execute the console command.
protected
makeEventAndListeners ( $event , $listeners ) : void
Make the event and listeners for the given event.
Parameters
- $event string
- $listeners array
protected
makeListeners ( $event , $listeners ) : void
Make the listeners for the given event.
Parameters
- $event string
- $listeners array