OutputCapabilityDetectorInterface
Interface
Detects console output capabilities without requiring PTY-backed processes.
Methods
supportsAnsi()
: bool
Determines whether the output supports ANSI-capable human interaction.
Methods
Determines whether the output supports ANSI-capable human interaction.
public
supportsAnsi(OutputInterface
$output) : bool
Parameters
$output
:
OutputInterface
Description
the output to inspect
Return values
bool
Description
true when the output is decorated or connected to a TTY