Peridot\Reporter\AbstractBaseReporter::hasTty PHP Method

hasTty() private method

Determine if reporter is reporting to a tty terminal.
private hasTty ( ) : boolean
return boolean
    private function hasTty()
    {
        if (!$this->output instanceof StreamOutput) {
            return false;
        }
        if (getenv("PERIDOT_TTY")) {
            return true;
        }
        return $this->isTtyTerminal($this->output);
    }