Method
Console::__construct
Creates a console writing to $stream.
Description#
public Console::__construct(
$stream = STDOUT,
?bool $color = null
)Parameters#
- $stream = STDOUT
- Where
write()andlog()write - $color ?bool = null
- Styled output; null: when
$streamis a terminal, unless the NO_COLOR environment variable is set (or FORCE_COLOR is)