src/Mordilion/Configurable/Configuration/Reader/Decoder/SimpleXml.php
private function castToArray($input): array
    {
        $result = array();

        foreach ($input as $key => $value) {
            $result[$key] = $this->castValue($value);
        }

        return $result;
    }
private function castToArray($input): array
    {
        $result = array();

        foreach ($input as $key => $value) {
            $result[$key] = $this->castValue($value);
        }

        return $result;
    }
Recursively cast to array

@param  mixed $input

@return array