DataSift\Storyplayer\OutputLib\OutputWriter::addOutputToStderr PHP Метод

addOutputToStderr() публичный Метод

public addOutputToStderr ( )
    public function addOutputToStderr()
    {
        $handle = fopen('php://stderr', 'w');
        $colour = true;
        // special case - check for writing to a pipe
        if (!function_exists('posix_isatty') || !posix_isatty($handle)) {
            $colour = false;
        }
        $this->outputHandles['stderr'] = ['handle' => $handle, 'colour' => $colour];
    }