Metaregistrar\EPP\eppInfoContactRequest::setContactHandle PHP Méthode

setContactHandle() public méthode

public setContactHandle ( eppContactHandle $contacthandle )
$contacthandle eppContactHandle
    public function setContactHandle(eppContactHandle $contacthandle)
    {
        #
        # Domain check structure
        #
        $this->contactobject->appendChild($this->createElement('contact:id', $contacthandle->getContactHandle()));
        if (!is_null($contacthandle->getPassword())) {
            $authinfo = $this->createElement('contact:authInfo');
            $authinfo->appendChild($this->createElement('contact:pw', $contacthandle->getPassword()));
            $this->contactobject->appendChild($authinfo);
        }
    }