Peridot\Reporter\AbstractBaseReporter::hasColorSupport PHP Method

hasColorSupport() protected method

Taken from Symfony's console output with some slight modifications to use the reporter's output stream
protected hasColorSupport ( ) : boolean
return boolean
    protected function hasColorSupport()
    {
        if ($this->isOnWindows()) {
            return $this->hasAnsiSupport();
        }
        return $this->hasTty();
    }