Converts a shell command result into an exit code. Null/True
are treated as success. All other return values are an error.
public dispatch ( array $extra = [] ) : integer | ||
$extra | array | Extra parameters that you can manually pass to the Shell to be dispatched. Built-in extra parameter is : - `requested` : if used, will prevent the Shell welcome message to be displayed |
return | integer | The cli command exit code. 0 is success. |