Property | Type | Description | |
---|---|---|---|
$error | resource | Error stream, STDERR | |
$output | resource | Output stream, STDOUT | |
$status | integer | It should be expected that only status codes in the range of 0-255 can be properly evaluated. |
Method | Description | |
---|---|---|
__construct ( array $config = [] ) : void | Constructor. | |
__destruct ( ) : void | Destructor. Closes streams. | |
error ( string $error ) : mixed | Writes string to error stream | |
output ( string $output ) : mixed | Writes string to output stream | |
styles ( array | boolean $styles = [] ) : array | Handles styling output. |
public __construct ( array $config = [] ) : void | ||
$config | array | Available configuration options are: - `'output'` _resource|null_ - `'error'` _resource|null_ |
return | void |
public int $status | ||
return | integer |