Method | Description | |
---|---|---|
__construct ( |
Creates the event. | |
getArgs ( ) : |
Returns the parsed console arguments. | |
getCommand ( ) : |
Returns the executed command. | |
getIO ( ) : |
Returns the I/O. | |
getStatusCode ( ) : integer | Returns the status code to return. | |
isHandled ( ) : boolean | Returns whether the command was handled by the event listener. | |
setHandled ( boolean $handled ) | Sets whether the command was handled by the event listener. | |
setStatusCode ( integer $statusCode ) | Sets the status code to return. |
public __construct ( |
||
$args | The parsed console arguments. | |
$io | The I/O. | |
$command | The executed command. |
public getArgs ( ) : |
||
return | The parsed console arguments. |
public getCommand ( ) : |
||
return | The executed command. |
public getIO ( ) : |
||
return | The I/O. |
public getStatusCode ( ) : integer | ||
return | integer | Returns 0 on success and any positive integer on error. |
public setHandled ( boolean $handled ) | ||
$handled | boolean | Whether the command was handled by the event listener. |
public setStatusCode ( integer $statusCode ) | ||
$statusCode | integer | Set to 0 on success and any positive integer on error. |