class ShutdownHandler implements LoggerAwareInterface, HandlerInterface (View source)

Drush's shutdown handler

If the command is being executed with the --backend option, the script will return a json string containing the options and log information used by the script.

The command will exit with '0' if it was successfully executed, and the result of Runtime::exitCode() if it wasn't.

Traits

LoggerAwareTrait

Methods

installHandler()

No description

shutdownHandler()

No description

returnStatus() deprecated

No description

Details

installHandler()

shutdownHandler()

returnStatus() deprecated

deprecated . This function will be removed in Drush 10. Throw an exception to indicate an error.