PHP Class yii\httpclient\XmlParser

Since: 2.0
Author: Paul Klimov ([email protected])
Inheritance: extends yii\base\Object, implements yii\httpclient\ParserInterface
Mostra file Open project: yiisoft/yii2-httpclient

Public Methods

Method Description
parse ( Response $response )

Protected Methods

Method Description
convertXmlToArray ( string | SimpleXMLElement $xml ) : array Converts XML document to array.

Method Details

convertXmlToArray() protected method

Converts XML document to array.
protected convertXmlToArray ( string | SimpleXMLElement $xml ) : array
$xml string | SimpleXMLElement xml to process.
return array XML array representation.

parse() public method

public parse ( Response $response )
$response Response