Metaregistrar\EPP\eppBase::addInteger PHP Method

addInteger() private method

This adds the content-length to the content that is about to be written over the EPP Protocol
private addInteger ( string $content ) : string
$content string Your XML
return string String to write
    private function addInteger($content)
    {
        $int = pack('N', intval(strlen($content) + 4));
        return $int . $content;
    }