src/Common/Internal/Atom/Generator.php
public function writeXml($xmlWriter)
    {
        $xmlWriter->startElementNS(
            'atom',
            Resources::CATEGORY,
            Resources::ATOM_NAMESPACE
        );

        $this->writeOptionalAttribute(
            $xmlWriter,
            'uri',
            $this->uri
        );

        $this->writeOptionalAttribute(
            $xmlWriter,
            'version',
            $this->version
        );

        $xmlWriter->writeRaw($this->text);
        $xmlWriter->endElement();
    }
public function writeXml($xmlWriter)
    {
        $xmlWriter->startElementNS(
            'atom',
            Resources::CATEGORY,
            Resources::ATOM_NAMESPACE
        );

        $this->writeOptionalAttribute(
            $xmlWriter,
            'uri',
            $this->uri
        );

        $this->writeOptionalAttribute(
            $xmlWriter,
            'version',
            $this->version
        );

        $xmlWriter->writeRaw($this->text);
        $xmlWriter->endElement();
    }
public function writeXml ( $ xmlWriter ) { $ xmlWriter -> startElementNS ( 'atom' , Resources :: CATEGORY , Resources :: ATOM_NAMESPACE ) ; $ this -> writeOptionalAttribute ( $ xmlWriter , 'uri' , $ this -> uri ) ; $ this -> writeOptionalAttribute ( $ xmlWriter , 'version' , $ this -> version ) ; $ xmlWriter -> writeRaw ( $ this -> text ) ; $ xmlWriter -> endElement ( ) ; }
Writes an XML representing the generator.

@param \XMLWriter $xmlWriter The XML writer
Writes an XML representing the generator .