src/Viserio/Component/Http/Stream.php
private function isPipe(): bool
    {
        if ($this->isPipe === null) {
            $this->isPipe = false;

            if (isset($this->stream)) {
                $mode         = \fstat($this->stream)['mode'];
                $this->isPipe = ($mode & self::FSTAT_MODE_S_IFIFO) !== 0;
            }
        }

        return $this->isPipe;
    }
private function isPipe(): bool
    {
        if ($this->isPipe === null) {
            $this->isPipe = false;

            if (isset($this->stream)) {
                $mode         = \fstat($this->stream)['mode'];
                $this->isPipe = ($mode & self::FSTAT_MODE_S_IFIFO) !== 0;
            }
        }

        return $this->isPipe;
    }
Returns whether or not the stream is a pipe.

@return bool