diff --git a/src/Converter/ArrayConverter.php b/src/Converter/ArrayConverter.php new file mode 100644 index 0000000..586deba --- /dev/null +++ b/src/Converter/ArrayConverter.php @@ -0,0 +1,25 @@ + $source + * + * @throws ConverterException + */ + public function convert(array $source, ?object $ctx = null): object + { + $arrayObject = new \ArrayObject($source); + + return $this->converter->convert($arrayObject, $ctx); + } +}