Metaregistrar\EPP\eppTransferRequest::setContactRequest PHP Method

setContactRequest() public method

public setContactRequest ( eppContactHandle $contact )
$contact eppContactHandle
    public function setContactRequest(eppContactHandle $contact)
    {
        #
        # Object create structure
        #
        $transfer = $this->createElement('transfer');
        $transfer->setAttribute('op', self::OPERATION_REQUEST);
        $this->contactobject = $this->createElement('contact:transfer');
        $this->contactobject->appendChild($this->createElement('contact:id', $contact->getContactHandle()));
        $transfer->appendChild($this->contactobject);
        $this->getCommand()->appendChild($transfer);
    }