Свойство | Тип | Описание | |
---|---|---|---|
$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. |
Метод | Описание | |
---|---|---|
__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_ |
Результат | void |
public __destruct ( ) : void | ||
Результат | void |
public int $status | ||
Результат | integer |