Symfony\Component\Console\Output\StreamOutput::hasColorSupport
Returns true if the stream supports colorization.
Colorization is disabled if not supported by the stream: - windows without ansicon and ConEmu - non tty consoles
Signature
protected function hasColorSupport()
Returns
- Boolean
- true if the stream supports colorization, false otherwise