Output
Less than 1 minute
Output
Console output helper with formatter integration.
class OutputApplies style markup formatting to outgoing messages and writes the final rendered text to standard output.
Properties
formatter
Message formatter used to render console style tags.
private OutputFormatter $formatterMethods
__construct
Creates an output writer with the default formatter implementation.
public __construct(): voidwrite
Writes a formatted message to standard output.
public write(string $message): voidParameters
| Parameter | Type | Description |
|---|---|---|
$message | string | message containing optional formatter markup |
close
Closes the output stream and resets any applied text formatting styles.
public close(): voidThis method outputs a reset sequence to clear any foreground and background color formatting that may have been applied during console output.
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:25 +0000