class ConsoleOutput extends ConsoleOutput

Properties

protected int $newLinesWritten

How many new lines were written by the last output.

Methods

int
newLinesWritten()

How many new lines were written by the last output.

void
doWrite(string $message, bool $newline)

Write the output and capture the number of trailing new lines.

void
writeDirectly(string $message)

Write output directly, bypassing newline capture.

Details

at line 21
int newLinesWritten()

How many new lines were written by the last output.

Return Value

int

at line 29
protected void doWrite(string $message, bool $newline)

Write the output and capture the number of trailing new lines.

Parameters

string $message
bool $newline

Return Value

void

at line 51
void writeDirectly(string $message)

Write output directly, bypassing newline capture.

Parameters

string $message

Return Value

void