class Illuminate / Foundation / Console / EventGenerateCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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