PHP Class yii\httpclient\XmlParser

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

Méthodes publiques

Méthode Description
parse ( Response $response )

Méthodes protégées

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

Method Details

convertXmlToArray() protected méthode

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

parse() public méthode

public parse ( Response $response )
$response Response