src/ResponseProcessor/SimpleXmlResponseProcessor.php
protected function logBadXML($xml)
    {
        $file = @fopen($this->badXmlLog, 'a');
        if (!$file) {
            throw new \Exception("Problem opening {$this->badXmlLog}.");
        }
        fputs($file, $xml . "\n\n");
        fclose($file);
    }
protected function logBadXML($xml)
    {
        $file = @fopen($this->badXmlLog, 'a');
        if (!$file) {
            throw new \Exception("Problem opening {$this->badXmlLog}.");
        }
        fputs($file, $xml . "\n\n");
        fclose($file);
    }
protected function logBadXML ( $ xml ) { $ file = @ fopen ( $ this -> badXmlLog , 'a' ) ; if ( ! $ file ) { throw new \ Exception ( "Problem opening {$this->badXmlLog}." ) ; } fputs ( $ file , $ xml . "\n\n" ) ; fclose ( $ file ) ; }
Log a bad XML response.

@param string $xml Bad XML

@return void
Log a bad XML response .