Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure you want to rename?
SAFE MODE
/
application
/
vendor
/
braintree
/
braintree_php
/
lib
/
Braintree
:
Xml.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace Braintree; /** * Braintree Xml parser and generator * superclass for Braintree XML parsing and generation */ class Xml { /** * @ignore */ protected function __construct() { } /** * * @param string $xml * @return array */ public static function buildArrayFromXml($xml) { return Xml\Parser::arrayFromXml($xml); } /** * * @param array $array * @return string */ public static function buildXmlFromArray($array) { return Xml\Generator::arrayToXml($array); } }