isColorEnabled() public method
Returns a value indicating whether ANSI color is enabled.
ANSI color is enabled only if $color is set true or is not set and the terminal supports ANSI color.
| public boolean isColorEnabled ( $stream = \STDOUT ) | ||
|---|---|---|
| $stream | resource | 
 The stream to check.  |  
| return | boolean | 
 Whether to enable ANSI style in output.  |  
Please login to continue.