Свойство | 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. |
Méthode | 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_ |
Résultat | void |
public int $status | ||
Résultat | integer |