class GlobalOptionsEventListener implements EventSubscriberInterface (View source)

Methods

static array
getSubscribedEvents()

No description

void
setGlobalOptions(ConsoleCommandEvent $event)

Before a Console command runs, examine the global commandline options from the event Input, and set configuration values as appropriate.

Details

static array getSubscribedEvents()

No description

Return Value

array

void setGlobalOptions(ConsoleCommandEvent $event)

Before a Console command runs, examine the global commandline options from the event Input, and set configuration values as appropriate.

Parameters

ConsoleCommandEvent $event

Return Value

void