diff --git a/composer.json b/composer.json index c89bc63..75b839d 100644 --- a/composer.json +++ b/composer.json @@ -11,6 +11,7 @@ ], "require": { "php": "^8.3", + "ext-simplexml": "*", "behat/behat": "^3.14", "phpunit/phpunit": "^10.1|^11.0.1", "symfony/css-selector": "^6.2|^7.1", diff --git a/src/Helpers/ArrayHelper.php b/src/Helpers/ArrayHelper.php new file mode 100644 index 0000000..97e51d1 --- /dev/null +++ b/src/Helpers/ArrayHelper.php @@ -0,0 +1,33 @@ +"); + array_walk_recursive($table, [$xml, "addChild"]); + + return $xml->asXML(); + } +}