public static function factory($streamClass = 'GuzzleHttp\\Psr7\\Stream')
    {
        return new static([
            new ResourceAdapter($streamClass),
            new DomDocumentAdapter($streamClass),
            new SimpleXmlAdapter($streamClass),
            new StringAdapter($streamClass),
        ]);
    }
public static function factory($streamClass = 'GuzzleHttp\\Psr7\\Stream')
    {
        return new static([
            new ResourceAdapter($streamClass),
            new DomDocumentAdapter($streamClass),
            new SimpleXmlAdapter($streamClass),
            new StringAdapter($streamClass),
        ]);
    }
public static function factory ( $ streamClass = 'GuzzleHttp\\Psr7\\Stream' ) { return new static ( [ new ResourceAdapter ( $ streamClass ) , new DomDocumentAdapter ( $ streamClass ) , new SimpleXmlAdapter ( $ streamClass ) , new StringAdapter ( $ streamClass ) , ] ) ; }
Default SAX parser factory.

@param string $streamClass FQCN to use when converting to XML document source to stream.
@return SaxParser New SAX parser instance.
Default SAX parser factory .