private function getConfigsForUriTemplates($config)
    {
        $configs = [$config];

        if ($config['additionalBindings']) {
            foreach ($config['additionalBindings'] as $additionalBinding) {
                $configs[] = $additionalBinding + $config;
            }
        }

        return $configs;
    }
private function getConfigsForUriTemplates($config)
    {
        $configs = [$config];

        if ($config['additionalBindings']) {
            foreach ($config['additionalBindings'] as $additionalBinding) {
                $configs[] = $additionalBinding + $config;
            }
        }

        return $configs;
    }
private function getConfigsForUriTemplates ( $ config ) { $ configs = [ $ config ] ; if ( $ config [ 'additionalBindings' ] ) { foreach ( $ config [ 'additionalBindings' ] as $ additionalBinding ) { $ configs [ ] = $ additionalBinding + $ config ; } } return $ configs ; }
Create a list of all possible configs using the additionalBindings

@param array $config
@return array[] An array of configs
Create a list of all possible configs using the additionalBindings