Metaregistrar\EPP\eppDeleteContactRequest::setContactHandle PHP Метод

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

public setContactHandle ( eppContactHandle $contacthandle )
$contacthandle eppContactHandle
    public function setContactHandle(eppContactHandle $contacthandle)
    {
        if (!strlen($contacthandle->getContactHandle())) {
            throw new eppException('eppDeleteRequest contacthandle object does not contain a valid contacthandle');
        }
        #
        # Object delete structure
        #
        $this->contactobject->appendChild($this->createElement('contact:id', $contacthandle->getContactHandle()));
    }