BraintreeXml

Braintree Xml parser and generator PHP version 5 superclass for Braintree XML parsing and generation.

Defined (1)

The class is defined in the following location(s).

/classes/lib/Braintree/Braintree/Xml.php  
  1. final class Xml 
  2. /** 
  3. * @ignore 
  4. */ 
  5. protected function __construct() 
  6.  
  7.  
  8. /** 
  9. * @param string $xml 
  10. * @return array 
  11. */ 
  12. public static function buildArrayFromXml($xml) 
  13. return Xml\Parser::arrayFromXml($xml); 
  14.  
  15. /** 
  16. * @param array $array 
  17. * @return string 
  18. */ 
  19. public static function buildXmlFromArray($array) 
  20. return Xml\Generator::arrayToXml($array);