Phalcon\Cli\Environment\Environment::hasColorSupport PHP Method

hasColorSupport() public method

public hasColorSupport ( ) : boolean
return boolean
    public function hasColorSupport()
    {
        if ($this->isWindows()) {
            return $this->isAnsicon();
        }
        if (!defined('STDOUT')) {
            return false;
        }
        return $this->isInteractive(STDOUT);
    }