src/ConfigLoader.php
private function loadedConfigurations(ContainerBuilder $containerBuilder, $extension)
    {
        $configuration = $containerBuilder->getExtensionConfig($extension);

        /* Flatten Array */
        return iterator_to_array(
            new \RecursiveIteratorIterator(
                new \RecursiveArrayIterator($configuration)
            )
        );
    }
private function loadedConfigurations(ContainerBuilder $containerBuilder, $extension)
    {
        $configuration = $containerBuilder->getExtensionConfig($extension);

        /* Flatten Array */
        return iterator_to_array(
            new \RecursiveIteratorIterator(
                new \RecursiveArrayIterator($configuration)
            )
        );
    }
//////////////////////////// UTILITY METHODS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\