-
-
Notifications
You must be signed in to change notification settings - Fork 0
OutputCapabilityDetector
github-actions edited this page Apr 24, 2026
·
1 revision
Detects ANSI-friendly output by decoration state or TTY-backed streams.
- Full name:
\FastForward\DevTools\Console\Output\OutputCapabilityDetector - This class is marked as final and can't be subclassed
- This class implements:
\FastForward\DevTools\Console\Output\OutputCapabilityDetectorInterface - This class is a Final class
Determines whether the output supports ANSI-capable human interaction.
public supportsAnsi(\Symfony\Component\Console\Output\OutputInterface $output): boolParameters:
| 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