console\Controller isColorEnabled()

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.

doc_Yii
2016-10-30 16:54:45
Comments
Leave a Comment

Please login to continue.