/** * Sets the stream to use for error output. * @param OutputStream $stream The stream to use for error output. */ public static function setErrorStream(OutputStream $stream) { self::$err = $stream; }