src/Types/AbstractInteger.php
public function write(\XMLWriter $writer, \DateTimeZone $timezone, $stringTag)
    {
        if (strpos(static::XMLRPC_TYPE, '}') !== false) {
            list($ns, $tagName) = explode('}', static::XMLRPC_TYPE, 2);
            $ns = (string) substr($ns, 1);
            return $writer->writeElementNS('ex', $tagName, $ns, (string) $this);
        }
        return $writer->writeElement(static::XMLRPC_TYPE, (string) $this);
    }
public function write(\XMLWriter $writer, \DateTimeZone $timezone, $stringTag)
    {
        if (strpos(static::XMLRPC_TYPE, '}') !== false) {
            list($ns, $tagName) = explode('}', static::XMLRPC_TYPE, 2);
            $ns = (string) substr($ns, 1);
            return $writer->writeElementNS('ex', $tagName, $ns, (string) $this);
        }
        return $writer->writeElement(static::XMLRPC_TYPE, (string) $this);
    }
/ \copydoc fpoirotte::XRL::Types::AbstractType::write()