Metaregistrar\EPP\eppLoginRequest::addVersion PHP Метод

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

public addVersion ( $version )
    public function addVersion($version)
    {
        $this->checkForOptions();
        if (!strlen($version)) {
            throw new eppException('No version number specified for login attempt');
        }
        if ($this->options) {
            $this->options->appendChild($this->createElement('version', $version));
        }
    }