Metaregistrar\EPP\eppContactRequest::__construct PHP Метод

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

public __construct ( $type )
    function __construct($type)
    {
        parent::__construct();
        $check = $this->createElement($type);
        $this->contactobject = $this->createElement('contact:' . $type);
        if (!$this->rootNamespaces()) {
            $this->contactobject->setAttribute('xmlns:contact', 'urn:ietf:params:xml:ns:contact-1.0');
        }
        $check->appendChild($this->contactobject);
        $this->getCommand()->appendChild($check);
    }
eppContactRequest