Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 93.33% |
Changes | 0 |
1 | <?php |
||
5 | class XmlRequest extends BaseRequest |
||
6 | { |
||
7 | /** |
||
8 | * The XSD for the API. |
||
9 | * |
||
10 | * This is not an absolute URL. If passed the absolute URL and error will |
||
11 | * be thrown as E00045. |
||
12 | */ |
||
13 | const XSD = 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'; |
||
14 | |||
15 | 14 | public function getContentType() |
|
16 | { |
||
17 | 14 | return 'text/xml'; |
|
18 | } |
||
19 | |||
20 | 14 | public function getBody() |
|
26 | } |
||
27 | |||
28 | 14 | public function arrayToXml($array, \SimpleXMLElement $xml) |
|
45 |