public function getSection(string $key) : ConfigurationBagInterface
    {
        return new ConfigurationBag(isset($this->parameters[$key]) ? $this->parameters[$key] : []);
    }
public function getSection(string $key) : ConfigurationBagInterface
    {
        return new ConfigurationBag(isset($this->parameters[$key]) ? $this->parameters[$key] : []);
    }
public function getSection ( string $ key ) : ConfigurationBagInterface { return new ConfigurationBag ( isset ( $ this -> parameters [ $ key ] ) ? $ this -> parameters [ $ key ] : [ ] ) ; }
Returns a new ConfigurationBag with parameters
If the section does not exists an empty ConfigurationBag is returned

@param string $key

@return ConfigurationBagInterface
Returns a new ConfigurationBag with parameters If the section does not exists an empty ConfigurationBag is returned