Peridot\Reporter\AbstractBaseReporter::hasTty PHP 메소드

hasTty() 개인적인 메소드

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