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

EventListCommand

Extends

Properties

protected

$signature string

The name and signature of the console command.

Default: 'event:list {--event= : Filter the events by name}'
protected

$description string

The console command description.

Default: 'List the application's events and listeners'

Methods

public

handle ( ) : mixed

Execute the console command.

protected

getEvents ( ) : array

Get all of the events and listeners configured for the application.

protected

filterEvents ( array $events ) : array

Filter the given events using the provided event name filter.

Parameters

  • $events array
protected

filteringByEvent ( ) : bool

Determine whether the user is filtering by an event name.