src/Flowcode/ShopBundle/DependencyInjection/FlowcodeShopExtension.php
/**
     * Binds the params from config
     *
     * @param ContainerBuilder $container Containerbuilder
     * @param string           $name      Alias name
     * @param array            $config    Configuration Array
     */
Binds the params from config
@param ContainerBuilder $container Containerbuilder
@param string           $name      Alias name
@param array            $config    Configuration Array
Binds the params from config @param ContainerBuilder $container Containerbuilder @param string $name Alias name @param array $config Configuration Array
public function bindParameters(ContainerBuilder $container, $name, $config) {
        if (is_array($config) && empty($config[0])) {
            foreach ($config as $key => $value) {
                $this->bindParameters($container, $name . '.' . $key, $value);
            }
        } else {
            $container->setParameter($name, $config);
        }
    }
public function bindParameters ( ContainerBuilder $ container , $ name , $ config ) { if ( is_array ( $ config ) && empty ( $ config [ 0 ] ) ) { foreach ( $ config as $ key => $ value ) { $ this -> bindParameters ( $ container , $ name . '.' . $ key , $ value ) ; } } else { $ container -> setParameter ( $ name , $ config ) ; } }
Binds the params from config
 @param ContainerBuilder $container Containerbuilder
 @param string           $name      Alias name
 @param array            $config    Configuration Array
Binds the params from config @param ContainerBuilder $container Containerbuilder @param string $name Alias name @param array $config Configuration Array