-
Notifications
You must be signed in to change notification settings - Fork 164
/
Copy pathatEppPollRequest.php
34 lines (29 loc) · 986 Bytes
/
atEppPollRequest.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
namespace Metaregistrar\EPP;
/*
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:poll="http://www.eurid.eu/xml/epp/poll-1.2">
<command>
<poll op="req"/>
<clTRID>poll01-req</clTRID>
</command>
</epp>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
<command>
<poll op="req"/>
<clTRID>ABC-12345</clTRID>
</command>
</epp>
*/
class atEppPollRequest extends eppPollRequest
{
use atEppCommandTrait;
protected $atEppExtensionChain = null;
function __construct($polltype, $messageid = null, $services = null, ?atEppExtensionChain $atEppExtensionChain=null)
{
$this->atEppExtensionChain = $atEppExtensionChain;
parent::__construct($polltype, $messageid, $services);
$this->setAtExtensions();
}
}