src/Normalizer/Normalizer.php
protected function recursiveConvertArray($data)
    {
        $out = [];

        foreach ($data as $key => $value) {
            $nkey = $this->normalize($key);

            if (in_array($nkey, $this->ignoredAttributes)) {
                continue;
            }

            $out[$nkey] = is_scalar($value) ? $value : $this->convertValue($value);
        }

        return $out;
    }
protected function recursiveConvertArray($data)
    {
        $out = [];

        foreach ($data as $key => $value) {
            $nkey = $this->normalize($key);

            if (in_array($nkey, $this->ignoredAttributes)) {
                continue;
            }

            $out[$nkey] = is_scalar($value) ? $value : $this->convertValue($value);
        }

        return $out;
    }
protected function recursiveConvertArray ( $ data ) { $ out = [ ] ; foreach ( $ data as $ key => $ value ) { $ nkey = $ this -> normalize ( $ key ) ; if ( in_array ( $ nkey , $ this -> ignoredAttributes ) ) { continue ; } $ out [ $ nkey ] = is_scalar ( $ value ) ? $ value : $ this -> convertValue ( $ value ) ; } return $ out ; }
Recursivly converts a given value to an array.

@param array $data

@return array
Recursivly converts a given value to an array .