protected function createStream(BrowserKitRequest $request)
    {
        $stream = fopen('php://temp', 'a+');
        fwrite($stream, $request->getContent());
        
        return new Stream($stream);
    }
protected function createStream(BrowserKitRequest $request)
    {
        $stream = fopen('php://temp', 'a+');
        fwrite($stream, $request->getContent());
        
        return new Stream($stream);
    }
protected function createStream ( BrowserKitRequest $ request ) { $ stream = fopen ( 'php://temp' , 'a+' ) ; fwrite ( $ stream , $ request -> getContent ( ) ) ; return new Stream ( $ stream ) ; }
Create the output stream handle

@param BrowserKitRequest $request
@return Stream
Create the output stream handle