Metaregistrar\EPP\eppRequest::addSessionId PHP Метод

addSessionId() публичный Метод

public addSessionId ( )
    public function addSessionId()
    {
        #
        # Remove earlier session id's to make sure session id is at the end
        #
        $remove = $this->getElementsByTagName('clTRID');
        foreach ($remove as $child) {
            $this->getCommand()->removeChild($child);
        }
        #
        # Add session id to the end of the command structure
        #
        $this->getCommand()->appendChild($this->createElement('clTRID', $this->sessionid));
    }