Skip to content

OutputCapabilityDetectorInterface

github-actions edited this page Apr 24, 2026 · 1 revision

Detects console output capabilities without requiring PTY-backed processes.


  • Full name: \FastForward\DevTools\Console\Output\OutputCapabilityDetectorInterface

Methods

supportsAnsi

Determines whether the output supports ANSI-capable human interaction.

public supportsAnsi(\Symfony\Component\Console\Output\OutputInterface $output): bool

Parameters:

Parameter Type Description
$output \Symfony\Component\Console\Output\OutputInterface the output to inspect

Return Value:

true when the output is decorated or connected to a TTY


Clone this wiki locally