Class XmlVisitor
Location visitor used to serialize XML bodies
- Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor implements Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface
- Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor
Namespace: Guzzle\Service\Command\LocationVisitor\Request
Located at Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php
Located at Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php
public
|
|
public
|
#
setContentTypeHeader( string $header )
Change the content-type header that is added when XML is found |
public
|
#
visit(
Called once for each parameter being visited that matches the location type |
public
|
#
after(
Called after visiting all parameters |
protected
|
#
createRootElement(
Create the root XML element to use with a request |
protected
|
#
addXml(
Recursively build the XML body |
protected
|
#
addXmlArray(
Add an array to the XML |
protected
|
#
addXmlObject(
Add an object to the XML |
prepareValue(),
resolveRecursively()
|
protected
|
$data |
|
#
Data object for persisting XML data |
protected
boolean
|
$contentType | 'application/xml' |
#
Content-Type header added when XML is found |