src/Core/Config.php
private function convert(array $config)
    {
        foreach ($config as $index => $data) {
            if (is_array($data)) {
                $config[$index] = new Config($data);
            }
        }

        return $config;
    }
private function convert(array $config)
    {
        foreach ($config as $index => $data) {
            if (is_array($data)) {
                $config[$index] = new Config($data);
            }
        }

        return $config;
    }
private function convert ( array $ config ) { foreach ( $ config as $ index => $ data ) { if ( is_array ( $ data ) ) { $ config [ $ index ] = new Config ( $ data ) ; } } return $ config ; }
Convert each sub array in an own config instance.

@param array $config

@return array
Convert each sub array in an own config instance .