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);
    }