protected function setDefaults(FirewallInterface $firewall, $configName = null, array $options = array())
    {
        $config = $this->getNormalizedConfig($configName);

        $this->mergeOptions($config, $options);

        foreach ($config as $paramName => $paramValue) {
            $this->setDefault($firewall, $paramName, $paramValue, $config);
        }

        return $this;
    }
protected function setDefaults(FirewallInterface $firewall, $configName = null, array $options = array())
    {
        $config = $this->getNormalizedConfig($configName);

        $this->mergeOptions($config, $options);

        foreach ($config as $paramName => $paramValue) {
            $this->setDefault($firewall, $paramName, $paramValue, $config);
        }

        return $this;
    }
protected function setDefaults ( FirewallInterface $ firewall , $ configName = null , array $ options = array ( ) ) { $ config = $ this -> getNormalizedConfig ( $ configName ) ; $ this -> mergeOptions ( $ config , $ options ) ; foreach ( $ config as $ paramName => $ paramValue ) { $ this -> setDefault ( $ firewall , $ paramName , $ paramValue , $ config ) ; } return $ this ; }
Configure a firewall

@param FirewallInterface $firewall   Firewall
@param string            $configName Predefined configuration name
@param array             $options    Additional setting

@return $this
Configure a firewall