class GlobalOptionsEventListener implements EventSubscriberInterface (View source)

Methods

static 
getSubscribedEvents()

No description

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 getSubscribedEvents()

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